aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/991026-1.c
blob: 191742112bda4fc3f131e6c3565d3faf82c49192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void something_f(float);

int foo(void)
{
  union
  {
    float f;
    double d;
  } u, *pu = &u;

  u.f = 1.0;
  something_f(u.f);
}