about summary refs log tree commit diff
path: root/tests/ui/consts/issue-64059.rs
blob: 8bb2d0fe05a2c22fe9765ec41f0f77a31c6545cc (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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);
}