Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030807-11.c
blob6effbb7ffe547906b6813f1512acff8d4147ae22
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern void abort (void);
5 struct rtx_def;
6 typedef struct rtx_def *rtx;
7 struct rtx_def
9 int code;
11 void
12 foo (reg)
13 rtx reg;
15 reg->code = 42;
16 if (reg->code != 42)
17 abort ();
20 /* There should be no IF conditionals. */
21 /* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */