modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/xorn.c (about) 1 int 2 xorn (a, b) 3 int a, b; 4 { 5 return a ^ ~b; 6 } 7 8 int 9 not (a) 10 int a; 11 { 12 return ~a; 13 } 14 15 int 16 xor (a, b) 17 int a, b; 18 { 19 return a ^ b; 20 } 21 22 main () 23 { 24 int i, j; 25 26 for (i = 0; i <= 1; i++) 27 for (j = 0; j <= 1; j++) 28 printf ("%d op %d = %d = %d?\n", i, j, 29 1 & xor (i, not (j)), 30 1 & xorn (i, j)); 31 }