xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/bool-zext-test.c (revision 3580e26c24814e4d892b1eae539b8761388f79f1)
1 _Bool equ0(unsigned char a) { return a == 0; }
2 _Bool equ1(unsigned char a) { return a == 1; }
3 _Bool neu0(unsigned char a) { return a != 0; }
4 _Bool neu1(unsigned char a) { return a != 1; }
5 
6 /*
7  * check-name: bool-zext-test
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-excludes: zext\\.
12  */
13