1 2 3 4 5 6 7 8 9 10 11 12 13
extern void abort (void); int f(unsigned int x, int n) { return ((int)x) / (1 << n); } int main() { if (f(-1, 1) != 0) abort (); return 0; }