aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/load-dead.c
blob: 19ac4e5e436f1dbda7b78a1f1dab504c3edf39e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
int fun(int);

static inline int fake(void)
{
}

static void foo(int a)
{
	0 || fun((a, fake(), a));
}

/*
 * check-name: load-dead
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: VOID
 */