summaryrefslogtreecommitdiff
path: root/tests/P_cxx/c_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/P_cxx/c_call.c')
-rw-r--r--tests/P_cxx/c_call.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/P_cxx/c_call.c b/tests/P_cxx/c_call.c
new file mode 100644
index 0000000..981da43
--- /dev/null
+++ b/tests/P_cxx/c_call.c
@@ -0,0 +1,6 @@
+#include <elf.h> // for testing header search
+#include "cxx.h"
+
+int main() {
+ c_interface();
+}