1union u {
2	double d;
3	int i[2];
4};
5
6void use(union u);
7
8int foo(double x, double y)
9{
10	union u u;
11	int r;
12
13	u.d = x;
14	r = u.i[0];
15	u.d = y;
16
17	use(u);
18	return r;
19}
20
21/*
22 * check-name: partial-load00
23 * check-command: test-linearize -Wno-decl $file
24 *
25 * check-output-ignore
26 * check-output-contains: store\\.
27 * check-output-contains: load\\.
28 * check-output-returns: %r2
29 */
30