testsuite: XFAIL gfortran.dg/initialization_25.f90 properly
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / enum7.C
blob980c8ea80dbbcb0c2f53ed961fb2075b94ef79d1
1 // { dg-do assemble  }
2 // GROUPS passed enums
3 enum color { red, green, blue, orange, brown };
5 struct s {
6       enum color      field:2; // { dg-warning "too small" }
7 };