rust/src/test/ui/consts/issue-64059.rs

11 lines
238 B
Rust
Raw Normal View History

// revisions: default noopt opt opt_with_overflow_checks
//[noopt]compile-flags: -C opt-level=0
//[opt]compile-flags: -O
//[opt_with_overflow_checks]compile-flags: -C overflow-checks=on -O
2019-09-02 03:40:35 +09:00
// run-pass
2019-09-01 22:05:50 +09:00
fn main() {
let _ = -(-0.0);
}