summaryrefslogtreecommitdiff
path: root/api_test/main.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-28 15:36:19 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-28 15:40:35 +0100
commit1961ae06e96f1111f9c4316d9d08fc485008935f (patch)
treeab854f7e3fcb34c7983313885f2b7342bcc03a33 /api_test/main.c
parent572608d158772cef6562b8c34f370fff98855174 (diff)
Test that libcmark can be used by C++ code
Diffstat (limited to 'api_test/main.c')
-rw-r--r--api_test/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/api_test/main.c b/api_test/main.c
index 709b8d3..6e54ea1 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -10,6 +10,9 @@
#define UTF8_REPL "\xEF\xBF\xBD"
+void
+test_cplusplus(test_batch_runner *runner);
+
static const cmark_node_type node_types[] = {
CMARK_NODE_DOCUMENT,
CMARK_NODE_BLOCK_QUOTE,
@@ -608,6 +611,7 @@ int main() {
parser(runner);
render_html(runner);
utf8(runner);
+ test_cplusplus(runner);
test_print_summary(runner);
retval = test_ok(runner) ? 0 : 1;