summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/float-canonical.rs
blob: b8748cd433b18f13db4550fadd1415eab81ad304 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Ztrait-solver=next
// check-pass

fn foo(x: f64) {
    let y = x + 1.0;
}

fn main() {}