Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030814-3.c
blob149da1bd912459a98414cd6de01e3e538048d1eb
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 40:
13 case 42:
14 if (value != 42)
15 abort ();
16 case 50:
17 blah ();
21 /* There should be one IF conditional. */
22 /* { dg-final { scan-tree-dump-times "if " 1 "dom2"} } */