1 2 3 4 5 6 7 8 9 10 11
// PR c++/90590 // { dg-options -Wswitch } #include "pr90590-2.h" void fn () { switch (c.b) // { dg-bogus "enumeration value" } ; }