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