svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / pr14289-2.c
blob7530b468caca87059130872b6208cbdefd3a6cfa
1 /* PR middle-end/14289 */
2 /* { dg-do compile { target i?86-*-* } } */
3 /* { dg-options "-O0" } */
5 static register int a[2] asm("ebx"); /* { dg-error "multiple storage" } */
7 void Nase(void)
9 int i=6;
10 a[i]=5; /* { dg-error "address of global" } */