2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wno-pedantic" }
9 struct { char a=0, b=0; };
18 struct { char a=0, b; };
27 struct { char a, b; } test2{0,0};
35 { // { dg-error "multiple fields" }
36 struct { char a=0, b=0; };
37 struct { char c=0, d; };
45 union { char a=0, b=0; }; // { dg-error "multiple fields" }