Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
asm
/
asm-literal-escaping.rs
blob: 8d464e752e637172c42230300e1b61e0872f7389 [
file
] [
log
] [
blame
]
// build-pass
// only-x86_64
#![
feature
(
asm
)]
fn
main
()
{
unsafe
{
// "nop" :: "r"(x) : "eax" : "volatile"
let
x
=
10
;
asm
!(
"\x6Eop"
::
"\x72"
(
x
)
:
"\x65ax"
:
"\x76olatile"
);
}
}