Debian Codegraph @

gcc/testsuite/g++.target/aarch64/pr89752.C

raw
1 // PR target/89752
2 // { dg-do compile }
3
4 struct A { A (); ~A (); short c; };
5
6 void
7 foo ()
8 {
9 A a0, a1;
10 __asm volatile ("" : "=rm" (a0), "=rm" (a1) : "0" (a0), "1" (a1)); // { dg-error "inconsistent operand constraints in an 'asm'" }
11 }