Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array9.C
blob: 4a5d74f6166dfbe03bb02a23a7d7e53431f12012 [
file
] [
log
] [
blame
]
// PR c++/93033
// { dg-do compile { target c++11 } }
struct
A
{
A
();
~
A
();
};
A f
();
struct
B
{
A a
;
bool
b
;
};
void
foo
()
{
B i
[]
{
f
()
};
}