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