repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
tredecl3.C
blob
bcc25ba484f244e1f44b2e08fd28c3ddfb8ba290
1
// PRMS Id: 4679
2
// Bug: redeclaration of templates erases the definition.
3
// Build don't link:
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
}