diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/991209-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/991209-1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/991209-1.c b/gcc/testsuite/gcc.dg/991209-1.c index b3a47285158..2381922c660 100644 --- a/gcc/testsuite/gcc.dg/991209-1.c +++ b/gcc/testsuite/gcc.dg/991209-1.c @@ -1,8 +1,9 @@ /* { dg-do compile { target i?86-*-* } } */ +/* { dg-options "-ansi -pedantic" } */ int foo () { return 1; } -register char *stack_ptr __asm ("%esp"); +register char *stack_ptr __asm ("%esp"); /* { dg-warning "warning: file-scope declaration of 'stack_ptr' specifies 'register'" } */ |