summaryrefslogtreecommitdiff
path: root/test/cplusplus.cpp
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-09-30 22:31:46 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-09-30 22:31:54 +0200
commita24ade0a3bdede676c4c85198ed3f1c000efaeff (patch)
tree4852712930cc37fdfe9a5f9c99fcd1cd8f4392d6 /test/cplusplus.cpp
parent3ba837ff863b6fcce6ebfc22f9c79eaf8d82fadb (diff)
test: added a test for C++ api compatibility
Diffstat (limited to 'test/cplusplus.cpp')
-rw-r--r--test/cplusplus.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/cplusplus.cpp b/test/cplusplus.cpp
new file mode 100644
index 0000000..b6ddaa9
--- /dev/null
+++ b/test/cplusplus.cpp
@@ -0,0 +1,16 @@
+/**
+ * @file test/cplusplus.cpp Baresip selftest -- C++ compatibility
+ *
+ * Copyright (C) 2010 - 2015 Creytiv.com
+ */
+#include <re.h>
+#include <rem.h>
+#include <baresip.h>
+#include "test.h"
+
+
+int test_cplusplus(void)
+{
+ re_printf("c++ ok\n");
+ return 0;
+}