Merge from branches/gcc-4_8-branch up to rev 207411.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / g++.dg / torture / pr51198.C
blob65009ff545829456881b3f21a3bb7ff0eff8bf42
1 /* { dg-options "-std=gnu++0x" } */
3 struct A
5   int i = 0 ? 0 : throw 1;
6 };
9 struct B
11   int f();
12   int i = f();
15 struct C
17   C(int);
20 struct D
22   C a = 0;
25 A a;
26 B b;
27 D d;