modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/20040820-1.c (about) 1 /* PR rtl-optimization/17099 */ 2 3 extern void exit (int); 4 extern void abort (void); 5 6 void 7 check (int a) 8 { 9 if (a != 1) 10 abort (); 11 } 12 13 void 14 test (int a, int b) 15 { 16 check ((a ? 1 : 0) | (b ? 2 : 0)); 17 } 18 19 int 20 main (void) 21 { 22 test (1, 0); 23 exit (0); 24 }