1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* Make sure that language + abi extensions in passing S interoperate. */ static long long __attribute__((noinline)) foo (unsigned short s) { return (short) s; } unsigned short s = 0xFFFF; int main (void) { return foo (s) + 1 != 0; }