xref: /illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/alias-same.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 extern int g;
2 
3 
4 static int foo(void)
5 {
6 	g = 1;
7 	g = 2;
8 	return g != 1;
9 }
10 
11 /*
12  * check-name: alias same symbols
13  * check-command: test-linearize $file
14  * check-output-ignore
15  *
16  * check-output-contains: ret\\..* *\\$1
17  */
18