Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
friend3.C
blob: 4432fc184df623b1e969d022a8359cd839802c08 [
file
] [
log
] [
blame
]
// PR c++/84691
// { dg-do compile { target c++11 } }
template
<typename>
struct
a
{
unsigned
b
=
[]
{
union
{
friend
void
c
()
{}
// { dg-error "local class" }
};
// { dg-error "no members" }
};
};