rust/tests/ui/consts/issue-64059.rs
2023-01-11 09:32:08 +00:00

11 lines
230 B
Rust

// revisions: 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
// run-pass
fn main() {
let _ = -(-0.0);
}