Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-union4.C
blob: c21fdcaed5b828920bd4e1f01483cc127f342188 [
file
] [
log
] [
blame
]
// PR c++/59269
// { dg-require-effective-target c++11 }
union
U
{
int
&
i
=
0
;
// { dg-error "reference" }
};
void
foo
()
{
U
();
}