]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/issue-64059.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / consts / issue-64059.rs
1 // revisions: noopt opt opt_with_overflow_checks
2 //[noopt]compile-flags: -C opt-level=0
3 //[opt]compile-flags: -O
4 //[opt_with_overflow_checks]compile-flags: -C overflow-checks=on -O
5
6 // run-pass
7
8 fn main() {
9 let _ = -(-0.0);
10 }