Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/921218-2.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 f()
4 {
5 long l2;
6 unsigned short us;
7 unsigned long ul;
8 short s2;
9
10 ul = us = l2 = s2 = -1;
11 return ul;
12 }
13
14 main()
15 {
16 if (f()!=(unsigned short)-1)
17 abort();
18 exit(0);
19 }