svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.c-torture / unsorted / subcc.c
blobd50114eee42477532e43d2bdcdb3aefe7bb651e6
1 foo (a, c)
3 int b;
5 if (a + c >= 0) /* b < 0 ==== a < 10? */
6 return a | 0x80000000;
7 return 0;
10 bar (a)
12 if (foo (a, 10) & 0x80000000)
13 printf ("y");
14 else
15 printf ("n");
18 main ()
20 bar (0);
21 bar (1);
22 bar (-1);
23 bar (10);
24 bar (-10);
25 bar (11);
26 bar (-11);
27 bar (0x7fffffff);
28 bar (-0x7fffffff);
30 puts ("");