• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define SMAX __INT_MAX__
2 #define SMIN (-__INT_MAX__-1)
3 
lt_smin(int a)4 int lt_smin(int a) { return (a <  SMIN) + 1; }
le_smax(int a)5 int le_smax(int a) { return (a <= SMAX) + 0; }
6 
ge_smin(int a)7 int ge_smin(int a) { return (a >= SMIN) + 0; }
gt_smax(int a)8 int gt_smax(int a) { return (a >  SMAX) + 1; }
9 
10 /*
11  * check-name: cmps-minmax
12  * check-command: test-linearize -Wno-decl $file
13  *
14  * check-output-ignore
15  * check-output-returns: 1
16  */
17