summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/xmake_tests3/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/xmake_tests3/src/main.cpp')
-rw-r--r--tests/projects/c++/modules/xmake_tests3/src/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/xmake_tests3/src/main.cpp b/tests/projects/c++/modules/xmake_tests3/src/main.cpp
new file mode 100644
index 000000000..4e2bb9b57
--- /dev/null
+++ b/tests/projects/c++/modules/xmake_tests3/src/main.cpp
@@ -0,0 +1,8 @@
+import std;
+import Foo;
+
+int main() {
+ foo();
+ std::printf("Hello from main\n");
+ return 0;
+}