xref: /illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/alias-same.c (revision 440a8a36792bdf9ef51639066aab0b7771ffcab8)
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