1*c85f09ccSJohn Levon union u {
2*c85f09ccSJohn Levon 	int i;
3*c85f09ccSJohn Levon 	float f;
4*c85f09ccSJohn Levon };
5*c85f09ccSJohn Levon 
foo(void)6*c85f09ccSJohn Levon static int foo(void)
7*c85f09ccSJohn Levon {
8*c85f09ccSJohn Levon 	union u u = { .f = 0.123 };
9*c85f09ccSJohn Levon 	return u.i;
10*c85f09ccSJohn Levon }
11*c85f09ccSJohn Levon 
12*c85f09ccSJohn Levon /*
13*c85f09ccSJohn Levon  * check-name: bug-expand-union
14*c85f09ccSJohn Levon  * check description: must not infer the value from the float
15*c85f09ccSJohn Levon  * check-command: test-linearize $file
16*c85f09ccSJohn Levon  * check-known-to-fail
17*c85f09ccSJohn Levon  *
18*c85f09ccSJohn Levon  * check-output-ignore
19*c85f09ccSJohn Levon  * check-output-contains: load\\.
20*c85f09ccSJohn Levon  */
21