diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-06-21 16:33:36 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-07-06 15:38:11 (GMT) |
commit | f62c3c3c729c635bca11f8d9c3fabd70fd3eab8f (patch) | |
tree | af8e6246b61e95999227b970b0e7b2c5c7cc900c /Tests/RunCMake/CXXModules/examples/public-req-private/pub.cxx | |
parent | c5d4dd713f9d0a50cd263850598d1f38fa27ed3b (diff) | |
download | CMake-f62c3c3c729c635bca11f8d9c3fabd70fd3eab8f.zip CMake-f62c3c3c729c635bca11f8d9c3fabd70fd3eab8f.tar.gz CMake-f62c3c3c729c635bca11f8d9c3fabd70fd3eab8f.tar.bz2 |
RunCMake/CXXModules: test public modules requiring private modules
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/public-req-private/pub.cxx')
-rw-r--r-- | Tests/RunCMake/CXXModules/examples/public-req-private/pub.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/public-req-private/pub.cxx b/Tests/RunCMake/CXXModules/examples/public-req-private/pub.cxx new file mode 100644 index 0000000..6ff2d23 --- /dev/null +++ b/Tests/RunCMake/CXXModules/examples/public-req-private/pub.cxx @@ -0,0 +1,8 @@ +export module pub; + +import priv; + +export int f() +{ + return g(); +} |