FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / tredecl3.C
blobbcc25ba484f244e1f44b2e08fd28c3ddfb8ba290
1 // PRMS Id: 4679
2 // Bug: redeclaration of templates erases the definition.
3 // Build don't link:
5 template <class T> class Foo { public: void h(); };
6 template <class T> class Foo;
8 void g()
10   Foo<int> f;