1 2 3 4 5 6 7 8 9 10 11 12
extern void abort (void); int foo (int i) { return -2 * __builtin_abs(i - 2); } int main() { if (foo(1) != -2 || foo(3) != -2) abort (); return 0; }