rust/tests/ui/consts/issue-64059.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
230 B
Rust
Raw Normal View History

2020-02-19 04:25:41 -06:00
// 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
2019-09-01 13:40:35 -05:00
// run-pass
2019-09-01 08:05:50 -05:00
fn main() {
let _ = -(-0.0);
}