Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.target
/
aarch64
/
pr89752.C
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'" }
}