Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
coerce
/
coerce-reborrow-imm-ptr-arg.rs
blob: f033e1b5d2b01a2458b6e275f062962b3abd0c21 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
fn
negate
(
x
:
&
isize
)
->
isize
{
-*
x
}
fn
negate_mut
(
y
:
&
mut
isize
)
->
isize
{
negate
(
y
)
}
fn
negate_imm
(
y
:
&
isize
)
->
isize
{
negate
(
y
)
}
pub
fn
main
()
{}