cgraph: A COMDAT decl always has non-zero address.
[gcc.git] / gcc / testsuite / c-c++-common / Wswitch-outside-range-3.c
1 // PR c++/90875
2 // { dg-options -Wno-pedantic }
3
4 void f(char c)
5 {
6 switch (c)
7
8 case -300 ... 300:; // { dg-warning "lower value in case label range less than minimum value for type|upper value in case label range exceeds maximum value for type" }
9 }