// { dg-additional-options "-fmodules-ts" } // { dg-module-cmi M:B } export module M:B; import :A; export template struct B { int foo(A a) { return a.x; } };