2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42963.c
blob8664b0d847c6ae2532f079f6ddc51814da1dc9c6
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-cfg" } */
3 extern void foo (void);
4 extern int i;
5 void
6 bar (void)
8 switch (i)
10 case 0:
11 foo ();
12 break;
13 case 1:
14 break;
18 switch (i)
20 case 0:
21 foo ();
22 break;
23 case 1:
24 break;
27 /* { dg-final { scan-tree-dump-times "case 1:" 0 "cfg" } } */
28 /* { dg-final { cleanup-tree-dump "cfg" } } */