Debian Codegraph @

gcc/testsuite/c-c++-common/pr90590-1.c

raw
1 // PR c++/90590
2 // { dg-options -Wswitch }
3 #include "pr90590-1.h"
4
5 void
6 g ()
7 {
8 enum E e = _A;
9 switch (e) // { dg-bogus "enumeration value '_C' not handled in switch" }
10 {
11 case _A:
12 case _B:
13 break;
14 }
15 }