From 1961ae06e96f1111f9c4316d9d08fc485008935f Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Fri, 28 Nov 2014 15:36:19 +0100 Subject: Test that libcmark can be used by C++ code --- api_test/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'api_test/main.c') 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; -- cgit v1.2.3