bneq0(int a)1*c85f09ccSJohn Levon int bneq0(int a) { return a != 0; }
bnoteq0(int a)2*c85f09ccSJohn Levon int bnoteq0(int a) { return !(a == 0); }
bnotnot(int a)3*c85f09ccSJohn Levon int bnotnot(int a) { return !(!a); }
4*c85f09ccSJohn Levon 
5*c85f09ccSJohn Levon /*
6*c85f09ccSJohn Levon  * check-name: bool-neq0
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: seteq\\.
11*c85f09ccSJohn Levon  * check-output-contains: setne\\.
12*c85f09ccSJohn Levon  */
13