Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr90590-1.c
blob: 4e11debb7fa1c841c611701afdd146173b8e4459 [
file
] [
log
] [
blame
]
// PR c++/90590
// { dg-options -Wswitch }
#include
"pr90590-1.h"
void
g
()
{
enum
E e
=
_A
;
switch
(
e
)
// { dg-bogus "enumeration value '_C' not handled in switch" }
{
case
_A
:
case
_B
:
break
;
}
}