• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define M		32
2 
cmps_and_sle0(int a)3 int cmps_and_sle0(int a) { return ((a & M) <= 0) == ((a & M) == 0); }
cmps_and_sgt0(int a)4 int cmps_and_sgt0(int a) { return ((a & M) >  0) == ((a & M) != 0); }
5 
6 /*
7  * check-name: cmps0-and
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-returns: 1
12  */
13