aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/86 cpp modules/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/86 cpp modules/main.cpp')
-rw-r--r--meson/test cases/unit/86 cpp modules/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/unit/86 cpp modules/main.cpp b/meson/test cases/unit/86 cpp modules/main.cpp
new file mode 100644
index 000000000..d825c7d49
--- /dev/null
+++ b/meson/test cases/unit/86 cpp modules/main.cpp
@@ -0,0 +1,7 @@
+import M0;
+#include<cstdio>
+
+int main() {
+ printf("The value is %d", func0());
+ return 0;
+}