1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
extern void abort(void); int __attribute__((noinline)) foo(int bits_per_pixel, int depth) { if ((bits_per_pixel | depth) == 1) abort (); return bits_per_pixel; } int main() { if (foo(2, 0) != 2) abort (); return 0; }