2 // { dg-options "-std=c++11 -pedantic" }
4 #define SA(X) static_assert(X,#X)
17 constexpr A() : i(42) {}
33 }; // { dg-warning "anonymous struct" }
34 }; // { dg-warning "anonymous struct" }
37 constexpr B(): h(1), i(2), k(3), l(4) {}
41 SA((b.h == 1 && b.i == 2 && b.k == 3 && b.l == 4));