1// { dg-do compile { target c++11 } }
2
3struct A
4{
5  int i = 0 ? 0 : throw 1;
6};
7
8
9struct B
10{
11  int f();
12  int i = f();
13};
14
15struct C
16{
17  C(int);
18};
19
20struct D
21{
22  C a = 0;
23};
24
25A a;
26B b;
27D d;
28
29
30