// { dg-additional-options -fmodules-ts } module foo; template class Arg4> struct TPL1 { }; template class Arg4> struct TPL2 { }; template class Arg; template struct TPL1;