Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi14.C
blob: aac6fa1c81bb1621a4d01837abb2f55529237fca [
file
] [
log
] [
blame
]
// PR c++/71638
// { dg-do compile { target c++11 } }
// { dg-options "-Wall" }
struct
A
{
struct
{
int
i
;
int
&
j
=
i
;
}
b
;
int
a
=
b
.
j
;
};
void
bar
(
A
);
void
foo
()
{
bar
(
A
{});
}