aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/cmpe-or0.c
blob: 2e89d611117ddfd192fa09de70e4c18da90f6991 (plain)
1
2
3
4
5
6
7
8
9
10
int cmp_eq(int a) { return ((a | 1) != 0) + 0; }
int cmp_ne(int a) { return ((a | 1) == 0) + 1; }

/*
 * check-name: cmpe-or0
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-returns: 1
 */