/* Copyright (C) 2000 Free Software Foundation */ /* Contributed by Alexandre Oliva */ unsigned long l = (unsigned long)-2; unsigned short s; int main () { long t = l; s = t; if (s != (unsigned short)-2) abort (); exit (0); }