aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/unsorted/uns_tst.c
blob: e34ffaf30eb6b8490d93401d6d4e314f22df684b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
a (c)
     unsigned char c;
{
  unsigned u = c;
  if ((int)u < 0)
    return 1;
  else
    return 0;
}

b (x, y)
     unsigned x, y;
{
  x /= y;
  if ((int)x < 0)
    return 1;
  else
    return 0;
}