Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / Wswitch-outside-range-2.c
blob20cc019b209dd3d8a8aa8fbd84fe095ff9984b17
1 // PR c++/90875
2 // { dg-options -Wno-switch-outside-range }
4 void f(char c)
6 switch (c)
7 case 300: //{ dg-bogus "case label value is less than minimum value for type" }
8 case -300:; // { dg-bogus "case label value is less than minimum value for type" }