blob: ab455da098d4a9e69d7b8627e14bed1233bb5007 (
plain)
1
2
3
4
5
6
7
8
9
|
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-options "-ansi -pedantic" } */
int foo ()
{
return 1;
}
register char *stack_ptr __asm ("%esp"); /* { dg-warning "warning: file-scope declaration of 'stack_ptr' specifies 'register'" } */
|