summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr30898.C
blob: 4c06ea608454246b82a9d65300cc0928e363262a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile }

double foo()
{
  union
  {
    int i;
    double d;
  };

  i = 0;
  return d;
}