summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-12-01 11:14:07 +0100
committerAlfred E. Heggestad <aeh@db.org>2015-12-01 11:14:07 +0100
commita3216be076638511532bf0499ca2445ae3a3c074 (patch)
tree55a16c4883f40c6ebd938ec93c21fe70e233dc5d
parent7a3fcaebdb6e8bdcf120becb08cb66c9126c85a9 (diff)
test: add usage of c-symbols in c++ test
-rw-r--r--test/cplusplus.cpp8
1 files changed, 7 insertions, 1 deletions
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;
}