Fix unused warnings.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.c-torture / execute / 20080813-1.c
blob9ef6bc2e2c55e642dda24770b437674dea7e527c
1 /* PR middle-end/37103 */
3 extern void abort (void);
5 void
6 foo (unsigned short x)
8 signed char y = -1;
9 if (x == y)
10 abort ();
13 void
14 bar (unsigned short x)
16 unsigned char y = -1;
17 if (x == y)
18 abort ();
21 int
22 main (void)
24 if (sizeof (int) == sizeof (short))
25 return 0;
26 foo (-1);
27 if (sizeof (short) > 1)
28 bar (-1);
29 return 0;