]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/initlist8.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist8.C
1 // PR c++/37740
2 // { dg-do compile { target c++11 } }
3
4 struct A
5 {
6 int i;
7 };
8
9 struct B
10 {
11 double d;
12 A i;
13 };
14
15 int main()
16 {
17 A a;
18 new B{3.2, a};
19 }
This page took 0.039176 seconds and 5 git commands to generate.