summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx')
-rw-r--r--Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx b/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
index 3b3d313..b180cb0 100644
--- a/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
@@ -3,6 +3,12 @@ import :internal_partition;
#include "internal-partitions_export.h"
+export struct module_struct
+{
+private:
+ partition_struct p;
+};
+
export INTERNAL_PARTITIONS_EXPORT int from_import()
{
return from_partition();