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

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

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