modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/950706-1.c (about) 1 int 2 f (int n) 3 { 4 return (n > 0) - (n < 0); 5 } 6 7 main () 8 { 9 if (f (-1) != -1) 10 abort (); 11 if (f (1) != 1) 12 abort (); 13 if (f (0) != 0) 14 abort (); 15 exit (0); 16 }