mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
11 lines
235 B
Rust
11 lines
235 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);
|
|
}
|