Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/20000528-1.c

raw
1 /* Copyright (C) 2000 Free Software Foundation */
2 /* Contributed by Alexandre Oliva <[email protected]> */
3
4 void abort (void);
5 void exit (int);
6
7 unsigned long l = (unsigned long)-2;
8 unsigned short s;
9
10 int main () {
11 long t = l;
12 s = t;
13 if (s != (unsigned short)-2)
14 abort ();
15 exit (0);
16 }