| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target ilp32 } */ |
| 3 |
/* { dg-options "-ansi -pedantic" } */ |
| 4 |
|
| 5 |
int foo () |
| 6 |
{ |
| 7 |
return 1; |
| 8 |
} |
| 9 |
|
| 10 |
register char *stack_ptr __asm ("%esp"); /* { dg-warning "file-scope declaration of 'stack_ptr' specifies 'register'" } */ |