summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/comdat1-aux.cc
blob: 34eb88ff822e94fda835688bbaa6ee2e64bcfb70 (plain)
1
2
3
4
5
6
7
8
9
10
inline int f ()
{
  static int i;
  return ++i;
}

int g ()
{
  return f();
}