]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-fail/overflowing-rsh-3.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-fail / overflowing-rsh-3.rs
index afe6a908cb5f13587dee7d6d6dd564e1081009fd..8874587064c35ec26f45bf7cc1e4ebdc09f565ba 100644 (file)
@@ -8,11 +8,15 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-pretty : (#23623) problems when  ending with // comments
+
 // error-pattern:thread '<main>' panicked at 'shift operation overflowed'
 // compile-flags: -C debug-assertions
 
 #![warn(exceeding_bitshifts)]
 
+#![feature(rustc_attrs)]
+#[rustc_no_mir] // FIXME #29769 MIR overflow checking is TBD.
 fn main() {
     let _x = -1_i64 >> 64;
 }