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