blob: 6beea7461950b898a24233911121aebbd2a37b42 [file] [log] [blame]
// PR target/89752
// { dg-do compile }
struct A { A (); ~A (); short c; };
void
foo ()
{
A a0, a1;
__asm volatile ("" : "=rm" (a0), "=rm" (a1) : "0" (a0), "1" (a1)); // { dg-error "inconsistent operand constraints in an 'asm'" }
}