| /* Copyright (C) 2000 Free Software Foundation */ | |
| /* Contributed by Alexandre Oliva <aoliva@cygnus.com> */ | |
| void abort (void); | |
| void exit (int); | |
| unsigned long l = (unsigned long)-2; | |
| unsigned short s; | |
| int main () { | |
| long t = l; | |
| s = t; | |
| if (s != (unsigned short)-2) | |
| abort (); | |
| exit (0); | |
| } |