blob: 3a57e781f86da628dd1842b2b4f7ce549d2df8c9 [file] [log] [blame]
double uintfloat(void)
{
union {
int a;
double f;
} s;
s.a = 1;
return s.f;
}
/*
* check-name: init-local union 0
* check-command: test-linearize -Wno-decl -fdump-ir=mem2reg $file
* check-output-ignore
* check-output-pattern(1): store\\.32
* check-output-pattern(1): load\\.64
*/