Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f62a35bae82dd0c5ff9dedd83fe2cfd74b67792
/
.
/
tests
/
ui
/
numbers-arithmetic
/
float-signature.rs
blob: a68a1d6e6f37734d6f822d4f56f83e8c82a56092 [
file
] [
log
] [
blame
]
//@ run-pass
pub
fn
main
()
{
fn
foo
(
n
:
f64
)
->
f64
{
return
n
+
0.12345
;
}
let
n
:
f64
=
0.1
;
let
m
:
f64
=
foo
(
n
);
println
!(
"{}"
,
m
);
}