aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/lto/pr56297_0.c
blob: 5ed19da155a4cb9ec41fc4a39998c8b7f1febb86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-lto-do link } */
/* { dg-lto-options { { -flto -fno-common } } } */

#if __x86_64__ || __i386__
register int i asm("esp");
#else
extern int i;
#endif

int main(void)
{
  return i;
}