beq0(int a)1*c85f09ccSJohn Levonint beq0(int a) { return a == 0; }
bnotne0(int a)2*c85f09ccSJohn Levonint bnotne0(int a) { return !(a != 0); }
bnot(int a)3*c85f09ccSJohn Levonint bnot(int a) { return !a; }
4*c85f09ccSJohn Levon
5*c85f09ccSJohn Levon /*
6*c85f09ccSJohn Levon * check-name: bool-eq0
7*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file
8*c85f09ccSJohn Levon * check-output-ignore
9*c85f09ccSJohn Levon *
10*c85f09ccSJohn Levon * check-output-excludes: setne\\.
11*c85f09ccSJohn Levon * check-output-contains: seteq\\.
12*c85f09ccSJohn Levon */
13