(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
Wswitch-outside-range-4.c
       1  // PR c++/90875
       2  // { dg-options "-Wno-pedantic -Wno-switch-outside-range" }
       3  
       4  void f(char c)
       5  {
       6    switch (c)
       7    
       8      case -300 ... 300:; // { dg-bogus "lower value in case label range less than minimum value for type|upper value in case label range exceeds maximum value for type" }
       9  }