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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend42.C
blob
3b6ad5a413377fb41064bb3e9a37632eb7619e05
1
// { dg-do compile }
2
3
template <class T> void foo (int);
4
5
template <class T>
6
class Q {
7
friend void foo<T> (int = 3); // { dg-error "27:default arguments are not allowed in declaration of friend" }
8
};