aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/alias-same.c
blob: 55cf42445fadce6bd932c28bce228b757e037859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern int g;


static int foo(void)
{
	g = 1;
	g = 2;
	return g != 1;
}

/*
 * check-name: alias same symbols
 * check-command: test-linearize $file
 * check-output-ignore
 *
 * check-output-contains: ret\\..* *\\$1
 */