rust/src/test/ui/issues/issue-31109.rs
2018-12-25 21:08:33 -07:00

7 lines
287 B
Rust

fn main() {
// FIXME(#31407) this error should go away, but in the meantime we test that it
// is accompanied by a somewhat useful error message.
let _: f64 = 1234567890123456789012345678901234567890e-340;
//~^ ERROR could not evaluate float literal (see issue #31407)
}