Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 222 Bytes
// run-pass
// pretty-expanded FIXME #23616
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
pub fn main() {
const FOO: f64 = 10.0;
match 0.0 {
0.0 ..= FOO => (),
_ => ()
}
}
You can’t perform that action at this time.