Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
tredecl3.C
blob: bcc25ba484f244e1f44b2e08fd28c3ddfb8ba290 [
file
] [
log
] [
blame
]
// 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
;
}