blob: 93afc4eecfed72364d6ce07dcc0e8d1de94269b3 [file] [log] [blame]
// { dg-module-do link }
// { dg-additional-options -fmodule-header }
// { dg-module-cmi {} }
template <unsigned I> struct TPL
{
int Source ()
{
return I;
}
};
extern template class TPL<1>;
struct Foo
{
TPL<1> m;
Foo () {m.Source ();};
};
static Foo __ioinit;