rust/tests/ui/traits/next-solver/float-canonical.rs
2024-02-16 20:02:50 +00:00

9 lines
103 B
Rust

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