1 // { dg-additional-options {-fmodules-ts -fdump-lang-module-graph-blocks} } 2 3 export module TPL; 4 // { dg-module-cmi TPL } 5 6 export template <typename T, int I> 7 struct X 8 { 9 T ary[I]; 10 }; 11 12 template<typename T> struct X<T,1> 13 { 14 T scalar; 15 }; 16 17 // { dg-final { scan-lang-dump {Dependency on partial template_decl:'::template X<T,0x1>' found} module } } 18 // { dg-final { scan-lang-dump {Cluster members:\n( \[.\][^\n]*'\n)* \[.\]=partial definition '::template X<T,0x1>'} module } } 19 // { dg-final { scan-lang-dump {Pending specialization '::template X<T,0x1>' entity:[0-9]* section:. keyed to '::X'} module } } 20