aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/addressable-degen.c
blob: e1dc510790792f1f0d928ae7bc01241d1418e348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
extern void def(void *, unsigned int);

static int bar(void)
{
	int x[2] = { 1, 2 };

	def(x, sizeof(x));
	return x[1];
}

/*
 * check-name: eval/addressable-degen
 * check-command: test-linearize -fdump-ir $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: load\\.
 */