modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/990923-1.c (about) 1 #define mask 0xffff0000L 2 #define value 0xabcd0000L 3 4 long 5 foo (long x) 6 { 7 if ((x & mask) == value) 8 return x & 0xffffL; 9 return 1; 10 } 11 12 int 13 main (void) 14 { 15 if (foo (value) != 0 || foo (0) != 1) 16 abort (); 17 18 exit (0); 19 }