1 /* { dg-do link } */
2 /* { dg-require-effective-target lto } */
3 /* { dg-options "-O2 -flto" } */
4 #ifdef __x86_64__
5 register volatile int a __asm__("%rsp");
6 #else
7 register volatile int a __asm__("%esp");
8 #endif
9 __attribute__ ((used))
t()10 int t () { a = 0; }
main()11 int main () { a = 0; }
12