summaryrefslogtreecommitdiffstats
path: root/test cases/objc/4 c++ project objc subproject/master.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/objc/4 c++ project objc subproject/master.cpp')
-rw-r--r--test cases/objc/4 c++ project objc subproject/master.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/objc/4 c++ project objc subproject/master.cpp b/test cases/objc/4 c++ project objc subproject/master.cpp
new file mode 100644
index 0000000..cd08fb1
--- /dev/null
+++ b/test cases/objc/4 c++ project objc subproject/master.cpp
@@ -0,0 +1,11 @@
+
+#include <iostream>
+
+extern "C"
+int foo();
+
+int main(void) {
+ std::cout << "Starting\n";
+ std::cout << foo() << "\n";
+ return 0;
+}