Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
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
;
}