Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030814-2.c
bloba99abf41570911b383d56c0dc3b69699beec7644
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern void abort (void);
5 extern void blah (void);
7 void
8 foo (int value)
10 switch (value)
12 case 42:
13 if (value != 42)
14 abort ();
15 case 50:
16 blah ();
20 /* There should be no IF conditionals. */
21 /* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */