rust/tests/ui/traits/next-solver/float-canonical.rs

9 lines
101 B
Rust

// compile-flags: -Znext-solver
// check-pass
fn foo(x: f64) {
let y = x + 1.0;
}
fn main() {}