Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
pr67639.c
blob: aa19ba4eda373399624277118a2d102a965b1c66 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
void
foo
(
int
p
)
{
int
t
;
register
long
x
asm
(
"rhubarb"
)
=
p
;
/* { dg-error "register name" } */
__asm
(
""
:
"=r"
(
t
),
"=r"
(
t
),
"=r"
(
t
),
"=r"
(
x
)
:
"0"
(
x
));
}