Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/uns_tst.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 a (c)
4 unsigned char c;
5 {
6 unsigned u = c;
7 if ((int)u < 0)
8 return 1;
9 else
10 return 0;
11 }
12
13 b (x, y)
14 unsigned x, y;
15 {
16 x /= y;
17 if ((int)x < 0)
18 return 1;
19 else
20 return 0;
21 }