xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/bool-sext-test.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 _Bool eqs0(  signed char a) { return a == 0; }
2 _Bool eqs1(  signed char a) { return a == 1; }
3 _Bool nes0(  signed char a) { return a != 0; }
4 _Bool nes1(  signed char a) { return a != 1; }
5 
6 /*
7  * check-name: bool-sext-test
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-excludes: sext\\.
12  */
13