importable.cxx 225 B

123456789101112131415161718
  1. module;
  2. #include "include/include.h"
  3. #ifndef include_h_included
  4. # error "include define not found"
  5. #endif
  6. export module importable;
  7. extern "C++" {
  8. int forwarding();
  9. }
  10. export int from_import()
  11. {
  12. return forwarding();
  13. }