xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/trunc-trunc.c (revision 2a8bcb4efb45d99ac41c94a75c396b362c414f7f)
1 char foo(int a)
2 {
3 	return ((((short) a) + 1) - 1);
4 }
5 
6 /*
7  * check-name: trunc-trunc
8  * check-command: test-linearize -Wno-decl $file
9  *
10  * check-output-ignore
11  * check-output-pattern(1): trunc\\.
12  */
13