summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/ifreg.c
blob: 9e2f9562e38510a574df33e37b9c6a2ae14a2dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
union foo
{
  float f;
  int i;
};

foo (int a, float c)
{
  union foo b;
  b.i = a;
  return b.f + c;
}