blob: bcc25ba484f244e1f44b2e08fd28c3ddfb8ba290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PRMS Id: 4679
// Bug: redeclaration of templates erases the definition.
// Build don't link:
template <class T> class Foo { public: void h(); };
template <class T> class Foo;
void g()
{
Foo<int> f;
}
|