diff options
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx')
-rw-r--r-- | Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx b/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx new file mode 100644 index 0000000..8be521b --- /dev/null +++ b/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx @@ -0,0 +1,9 @@ +export module importable; +import importable : internal_partition; + +#include "internal-partitions_export.h" + +export INTERNAL_PARTITIONS_EXPORT int from_import() +{ + return from_partition(); +} |