From a3216be076638511532bf0499ca2445ae3a3c074 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Tue, 1 Dec 2015 11:14:07 +0100 Subject: test: add usage of c-symbols in c++ test --- test/cplusplus.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/cplusplus.cpp b/test/cplusplus.cpp index b6ddaa9..7d2b208 100644 --- a/test/cplusplus.cpp +++ b/test/cplusplus.cpp @@ -11,6 +11,12 @@ int test_cplusplus(void) { + const char *version = sys_libre_version_get(); + int err = 0; + + ASSERT_TRUE(str_isset(version)); re_printf("c++ ok\n"); - return 0; + +out: + return err; } -- cgit v1.2.3