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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend23.C
blob
abf6c709aba972d44bb0c57691b730d76bcd2883
1
// { dg-do assemble }
2
3
template <class T = int> // { dg-error "" } original definition
4
struct S
5
{ // { dg-error "" } redefinition of default arg
6
template <class U = int>
7
friend class S;
8
};
9
10
template struct S<int>;