summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20100423-3_0.C
blob: 49564a586b4a9c8802fd92d129767f1cd3918879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-lto-do assemble }
// { dg-lto-options {{-flto -g}} }

inline int foo()
{
  static union { int i; };
  return i;
}

void bar()
{
  foo();
}