1 /* { dg-do compile } */ 2 /* { dg-options "-O1" } */ 3 struct S { int c, *b, *e; }; 4 5 void foo()6 foo () 7 { 8 struct S a; 9 asm volatile ("" : "=rm" (a) : "0" (1)); /* { dg-error "inconsistent operand constraints in an 'asm'" } */ 10 } 11