PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 991209-1.c
blob15a46cfc40bf4eaf405e58b54dc04da71a4aaa88
1 /* { dg-do compile } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-ansi -pedantic" } */
5 int foo ()
7 return 1;
10 register char *stack_ptr __asm ("%esp"); /* { dg-warning "file-scope declaration of 'stack_ptr' specifies 'register'" } */