xref: /illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/alias-same.c (revision c85f09cc92abd00c84e58ec9f0f5d942906cb713)
1 extern int g;
2 
3 
foo(void)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