Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
c-c++-common
/
Wswitch-outside-range-1.c
blob: 29e56f3ba2db95760b4b852eb248316e3c321332 [
file
] [
log
] [
blame
]
// PR c++/90875
void
f
(
char
c
)
{
switch
(
c
)
case
300
:
// { dg-warning "case label value exceeds maximum value for type" }
case
-
300
:;
// { dg-warning "case label value is less than minimum value for type" }
}