OSDN Git Service

Target Hook to issue diagnostics for AltiVec argument to funtion
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 991209-1.c
1 /* { dg-do compile { target i?86-*-* } } */
2 /* { dg-options "-ansi -pedantic" } */
3
4 int foo ()
5 {
6   return 1;
7 }
8
9 register char *stack_ptr __asm ("%esp"); /* { dg-warning "warning: file-scope declaration of 'stack_ptr' specifies 'register'" } */