aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg/load-dead.c
blob: 1165fa1eab1b51028096cd7f6f538877b974970c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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-output-ignore
 * check-output-excludes: VOID
 */