aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/bool-eq0.c
blob: dbc93d95c61770bc4518c1e2de100abbc362c39c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
int beq0(int a) { return a == 0; }
int bnotne0(int a) { return !(a != 0); }
int bnot(int a) { return !a; }

/*
 * check-name: bool-eq0
 * check-command: test-linearize -Wno-decl $file
 * check-output-ignore
 *
 * check-output-excludes: setne\\.
 * check-output-contains: seteq\\.
 */