1 // { dg-additional-options -fmodules-ts }
2 
3 export module foo;
4 // { dg-module-cmi !foo }
5 
6 import :imp; // ok
7 
8 export import :inter2; // ok
9 
10 // { dg-regexp "In module imported at \[^\n]*part-2_b.C:6:.,\nof module foo:imp, imported at \[^\n]*part-2_d.C:6:\nfoo:inter: error: interface partition is not exported\n" }
11