summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/library/main.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-17 15:35:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-17 15:35:12 (GMT)
commitd94e09ec88c99434941029cde07b6c1e6bd0dde1 (patch)
tree6aa82ff8decf5ba566b5f9181c31d019dabfb23d /Tests/RunCMake/CXXModules/examples/library/main.cxx
parent88a300d421c4cfec59197fcc7faac1ef526882c2 (diff)
parent07bc3b07ec8796f4a067ede7f4426ccbfa8ab858 (diff)
downloadCMake-d94e09ec88c99434941029cde07b6c1e6bd0dde1.zip
CMake-d94e09ec88c99434941029cde07b6c1e6bd0dde1.tar.gz
CMake-d94e09ec88c99434941029cde07b6c1e6bd0dde1.tar.bz2
Merge topic 'cpp-named-module-file-sets'
07bc3b07ec gitlab-ci: test C++ modules using GCC 1b2270aa4e ci: add a Docker image to test out C++ modules with GCC 8c5a53096a Tests/RunCMake/CXXModules: add module-using examples 4151547e2f cmGlobalNinjaGenerator: use `cmModuleMapper` implementation b43bdaff3c cmCxxModuleMapper: implement support for GCC's module map format 02d0f0e752 cmCxxModuleMapper: add source to handle module mapper contents a046a45aad cmGlobalNinjaGenerator: add a TODO for header units 386465bf83 cmTarget: add support for C++ module fileset types ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7369
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/library/main.cxx')
-rw-r--r--Tests/RunCMake/CXXModules/examples/library/main.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/library/main.cxx b/Tests/RunCMake/CXXModules/examples/library/main.cxx
new file mode 100644
index 0000000..feb38d2
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/examples/library/main.cxx
@@ -0,0 +1,6 @@
+import importable;
+
+int main(int argc, char* argv[])
+{
+ return from_import();
+}