summaryrefslogtreecommitdiffstats
path: root/test/LLVMC/test_data/false.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/LLVMC/test_data/false.c')
-rw-r--r--test/LLVMC/test_data/false.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/LLVMC/test_data/false.c b/test/LLVMC/test_data/false.c
new file mode 100644
index 0000000..3e4e8a7
--- /dev/null
+++ b/test/LLVMC/test_data/false.c
@@ -0,0 +1,10 @@
+#include <iostream>
+
+extern "C" void test();
+extern std::string test2();
+
+int test_main() {
+ std::cout << "h";
+ test();
+ std::cout << test2() << '\n';
+}
OpenPOWER on IntegriCloud