summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/internal-partitions/internal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/internal-partitions/internal.cxx')
-rw-r--r--Tests/RunCMake/CXXModules/examples/internal-partitions/internal.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/internal-partitions/internal.cxx b/Tests/RunCMake/CXXModules/examples/internal-partitions/internal.cxx
new file mode 100644
index 0000000..1e9d108
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/examples/internal-partitions/internal.cxx
@@ -0,0 +1,6 @@
+export module internal;
+
+export int from_internal()
+{
+ return 0;
+}