2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr14289-1.c
blobe427b2d0cbddd558d37e3af429081493e944a6e5
1 /* PR middle-end/14289 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0" } */
5 register int a[2] asm("ebx");
7 void Nase(void)
9 int i=6;
10 a[i]=5; /* { dg-error "address of global" } */