1 /* { dg-do compile } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-options "-fPIC" } */
4 
5 /* Test verifies that %ebx is no longer fixed when generating PIC code on i686.  */
6 
7 int a, b, c;
8 
9 void
foo(void)10 foo (void)
11 {
12   asm volatile ("":"+m" (a), "+m" (b), "+m" (c));
13 }
14