PR c/56980
[official-gcc.git] / gcc / testsuite / gcc.dg / pr53887.c
blobb46126cd2ac8f4f45fc3e4d7eff563d6db60a7f8
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 enum
5 { Failed, NoError, NoDiskette }
6 a;
7 int b, c;
8 void
9 fn1 ()
11 if (c)
12 a << 1;
13 switch (b)
15 default:
16 a << 1;
17 case 0:
18 b = 0;
19 case 1:
20 case NoDiskette: