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