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

void bar(int) {}

void foo(void)
{
  typedef enum { ABC } DEF;
  DEF a;
  bar((int)a);
}

int main() {}