summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/ninja-cmp0154/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/ninja-cmp0154/main.cxx')
-rw-r--r--Tests/RunCMake/CXXModules/examples/ninja-cmp0154/main.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/ninja-cmp0154/main.cxx b/Tests/RunCMake/CXXModules/examples/ninja-cmp0154/main.cxx
new file mode 100644
index 0000000..1ac4850
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/examples/ninja-cmp0154/main.cxx
@@ -0,0 +1,8 @@
+import importable;
+
+extern int unrelated();
+
+int main(int argc, char* argv[])
+{
+ return from_import() + unrelated();
+}