xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/ext-trunc-greater.c (revision 8e458de0baeb1fee50643403223bc7e909a48464)
1 short sgt(char x)
2 {
3 	return (int) x;
4 }
5 
6 short ugt(unsigned char x)
7 {
8 	return (int) x;
9 }
10 
11 /*
12  * check-name: ext-trunc-greater
13  * check-command: test-linearize -Wno-decl $file
14  *
15  * check-output-ignore
16  * check-output-excludes: trunc\\.
17  */
18