blob: 35c34d7e8da28eed88fdf86cfc459d5860790c1a [file] [log] [blame]
// { dg-do assemble }
// PRMS Id: 4679
// Bug: redeclaration of templates erases the definition.
template <class T> class Foo { public: void h(); };
template <class T> class Foo;
void g()
{
Foo<int> f;
}