summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-64059.rs
blob: 02c8b7250324df6b97b83bffdf5be1ccb67f24ed (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);
}