diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-12-01 11:14:07 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-12-01 11:14:07 +0100 |
commit | a3216be076638511532bf0499ca2445ae3a3c074 (patch) | |
tree | 55a16c4883f40c6ebd938ec93c21fe70e233dc5d | |
parent | 7a3fcaebdb6e8bdcf120becb08cb66c9126c85a9 (diff) |
test: add usage of c-symbols in c++ test
-rw-r--r-- | test/cplusplus.cpp | 8 |
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; } |