// { dg-additional-options {-fmodules-ts -fdump-lang-module-graph-blocks} } export module TPL; // { dg-module-cmi TPL } export template struct X { T ary[I]; }; template struct X { T scalar; }; // { dg-final { scan-lang-dump {Dependency on partial template_decl:'::template X' found} module } } // { dg-final { scan-lang-dump {Cluster members:\n( \[.\][^\n]*'\n)* \[.\]=partial definition '::template X'} module } } // { dg-final { scan-lang-dump {Pending specialization '::template X' entity:[0-9]* section:. keyed to '::X'} module } }