summaryrefslogtreecommitdiff
path: root/tests/projects/swift/modulemap/src/hello.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-07 00:49:30 +0800
committerruki <[email protected]>2019-09-06 22:57:05 +0800
commit1d6857de2bc044f45f76270256fad011a591abfc (patch)
tree2a028539f470eaee636744990e15c3c42b39edbd /tests/projects/swift/modulemap/src/hello.cpp
parent0f7e7701f27eec0118930eddefba0d0ca3269d38 (diff)
add modulemap tests
Diffstat (limited to 'tests/projects/swift/modulemap/src/hello.cpp')
-rw-r--r--tests/projects/swift/modulemap/src/hello.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/projects/swift/modulemap/src/hello.cpp b/tests/projects/swift/modulemap/src/hello.cpp
new file mode 100644
index 000000000..42b01afac
--- /dev/null
+++ b/tests/projects/swift/modulemap/src/hello.cpp
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include "hello.h"
+
+void say1(char const* s) {
+ printf("%s\n", s);
+}
+
+