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++.pt
/
friend23.C
blob
4d37da32245bbe5d335340ef7999496fef3bc180
1
// Build don't link:
2
3
template <class T = int> // ERROR - original definition
4
struct S
5
{ // ERROR - redefinition of default arg
6
template <class U = int>
7
friend class S;
8
};
9
10
template struct S<int>;