☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
tredecl3.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/tredecl3.C
code
plain
raw
1
// { dg-do assemble }
2
// PRMS Id: 4679
3
// Bug: redeclaration of templates erases the definition.
4
5
template <class T> class Foo { public: void h(); };
6
template <class T> class Foo;
7
8
void g()
9
{
10
Foo<int> f;
11
}