aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/dead-phisrc.c
blob: 4e4f6a8b4ba3b8597a7af09a2622c36f95640022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static void foo(void)
{
	extern int *a;

	if (a || *a)
		;
	if (a[0] || a[1])
		;
}

/*
 * check-name: dead-phisrc
 * check-command: test-linearize $file
 *
 * check-output-ignore
 * check-output-excludes: phisrc
 */