rust/src/test/run-pass/float-signature.rs

8 lines
125 B
Rust
Raw Normal View History

fn main() {
fn foo(float n) -> float { ret n + 0.12345; }
let float n = 0.1;
let float m = foo(n);
log m;
}