Files
rust/tests/ui/parser/issues/issue-7222.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
125 B
Rust
Raw Normal View History

//@ run-pass
pub fn main() {
const FOO: f64 = 10.0;
match 0.0 {
0.0 ..= FOO => (),
_ => ()
}
}