]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/float-signature.rs
Auto merge of #101893 - oli-obk:lift_derive, r=lcnr
[rust.git] / src / test / ui / numbers-arithmetic / float-signature.rs
1 // run-pass
2
3
4 pub fn main() {
5     fn foo(n: f64) -> f64 { return n + 0.12345; }
6     let n: f64 = 0.1;
7     let m: f64 = foo(n);
8     println!("{}", m);
9 }