xref: /illumos-gate/usr/src/tools/smatch/src/validation/optim/load-converted.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 static int foo(int *p, int i)
2 {
3 	int a = p[i];
4 	int b = p[i];
5 	return (a - b);
6 }
7 
8 /*
9  * check-name: load-converted
10  * check-command: test-linearize -Wno-decl $file
11  *
12  * check-output-ignore
13  * check-output-excludes: add\\.
14  */
15