view gcc/testsuite/gcc.dg/lto/pr56297_0.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { 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;
}