blob: ca0bc464ff43542b13d908de720998728f54eec9 [file] [log] [blame]
// PR c++/37740
// { dg-do compile { target c++11 } }
struct A
{
int i;
};
struct B
{
double d;
A i;
};
int main()
{
A a;
new B{3.2, a};
}