// { dg-additional-options "-fmodules-ts" } // { dg-module-cmi M:C } export module M:C; import :A; template struct B; export template int bar(B t, U u) { return t.foo(u); }