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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
friend3.C
blob
4432fc184df623b1e969d022a8359cd839802c08
1
// PR c++/84691
2
// { dg-do compile { target c++11 } }
3
4
template<typename>
5
struct a {
6
unsigned b = [] {
7
union {
8
friend void c() {} // { dg-error "local class" }
9
}; // { dg-error "no members" }
10
};
11
};