Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
asmgoto-1.c
blob: 9c729fdd57167f53df52371026a354dff0468c5e [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "" } */
void
foo
(
void
)
{
int
i
=
0
;
asm
(
""
:
:
:
"memory"
);
asm
(
""
:
:
:
);
asm
(
""
:
:
"r"
(
i
));
asm
(
""
:
:
);
asm
(
""
:
"=r"
(
i
));
asm
(
""
:
);
asm
(
""
);
}