blob: 8316916abc8c13644a5a7a5b6d6791677b59e219 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#define M 32
int cmps_and_sle0(int a) { return ((a & M) <= 0) == ((a & M) == 0); }
int cmps_and_sgt0(int a) { return ((a & M) > 0) == ((a & M) != 0); }
/*
* check-name: cmps0-and
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-returns: 1
*/
|