summaryrefslogtreecommitdiffstats
path: root/test cases/unit/85 cpp modules/gcc/src1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/85 cpp modules/gcc/src1.cxx')
-rw-r--r--test cases/unit/85 cpp modules/gcc/src1.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/unit/85 cpp modules/gcc/src1.cxx b/test cases/unit/85 cpp modules/gcc/src1.cxx
new file mode 100644
index 0000000..cea6696
--- /dev/null
+++ b/test cases/unit/85 cpp modules/gcc/src1.cxx
@@ -0,0 +1,7 @@
+export module M1;
+
+import M2;
+
+export int func1() {
+ return func2();
+}