importable.cxx 244 B

123456789101112131415
  1. export module importable;
  2. import :internal_partition;
  3. #include "internal-partitions_export.h"
  4. export struct module_struct
  5. {
  6. private:
  7. partition_struct p;
  8. };
  9. export INTERNAL_PARTITIONS_EXPORT int from_import()
  10. {
  11. return from_partition();
  12. }