Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
asm
/
issue-97490.rs
blob: 37862cf349cfce572a4e69f49e21de6374b920ef [
file
] [
log
] [
blame
]
// check-pass
// only-x86_64
// needs-asm-support
pub
type
Yes
=
extern
"sysv64"
fn
(&
'
static
u8
)
->
!;
fn
main
()
{
unsafe
{
let
yes
=
&
6
as
*
const
_
as
*
const
Yes
;
core
::
arch
::
asm
!(
"call {}"
,
in
(
reg
)
yes
,
options
(
noreturn
));
}
}