summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to '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;
}