aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/sameBaseName/lib.mm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/sameBaseName/lib.mm')
-rw-r--r--tests/auto/blackbox/testdata/sameBaseName/lib.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/sameBaseName/lib.mm b/tests/auto/blackbox/testdata/sameBaseName/lib.mm
new file mode 100644
index 000000000..ee284b080
--- /dev/null
+++ b/tests/auto/blackbox/testdata/sameBaseName/lib.mm
@@ -0,0 +1,8 @@
+#include <iostream>
+#import <Foundation/Foundation.h>
+
+extern "C" void printHelloObjcpp()
+{
+ NSLog(@"Hello from Objective-C++...");
+ std::cout << "...in " __FILE__ << std::endl;
+}