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

12 lines
152 B
Rust
Raw Normal View History

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