Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
()
};
}