2020-02-19 11:25:41 +01:00
|
|
|
// revisions: noopt opt opt_with_overflow_checks
|
2020-02-15 10:51:51 +01:00
|
|
|
//[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);
|
|
|
|
}
|