Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
Wswitch-outside-range-3.c
blob: baf15561af0b1ef8bf74a8793cade286da457cc5 [
file
] [
log
] [
blame
]
// PR c++/90875
// { dg-options -Wno-pedantic }
void
f
(
char
c
)
{
switch
(
c
)
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" }
}