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 10:25:41 +00: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 18:40:35 +00:00
// run-pass
2019-09-01 13:05:50 +00:00
fn main() {
let _ = -(-0.0);
}