aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/cmpe-or0.c
blob: bef2316120f764d12b5675ce833217aa0ac71ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
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-known-to-fail
 *
 * check-output-ignore
 * check-output-returns: 1
 */