aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/991209-1.c
blob: 15a46cfc40bf4eaf405e58b54dc04da71a4aaa88 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-ansi -pedantic" } */

int foo ()
{
  return 1;
}

register char *stack_ptr __asm ("%esp"); /* { dg-warning "file-scope declaration of 'stack_ptr' specifies 'register'" } */