2 // { dg-do compile { target c++11 } }
7 S() : S() {} // { dg-error "delegates to itself" }
8 S(int x) : S(x) {} // { dg-error "delegates to itself" }
13 B1() : B1() {} // { dg-error "delegates to itself" }
14 B1(int y) : B1(y) {} // { dg-error "delegates to itself" }
17 struct V1 : virtual B1
25 B2() : B2() {} // { dg-error "delegates to itself" }
26 B2(int y) : B2(y) {} // { dg-error "delegates to itself" }
29 struct V2 : virtual B2
31 V2() : V2() {} // { dg-error "delegates to itself" }
32 V2(int x) : V2(x) {} // { dg-error "delegates to itself" }
41 struct V3 : virtual B3
43 V3() : V3() {} // { dg-error "delegates to itself" }
44 V3(int x) : V3(x) {} // { dg-error "delegates to itself" }
49 constexpr CE1() : CE1() {} // { dg-error "delegates to itself" }
50 constexpr CE1(int x) : CE1(x) {} // { dg-error "delegates to itself" }
55 constexpr CEB2() : CEB2() {} // { dg-error "delegates to itself" }
56 constexpr CEB2(int x) : CEB2(x) {} // { dg-error "delegates to itself" }
61 constexpr CE2() : CEB2() {}
62 constexpr CE2(int x) : CEB2(x) {}