]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-fail/mod-zero.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-fail / mod-zero.rs
index 76d4de7ecb03ce907b987c4e16e705a4dc36373e..7a151c8c572f6dfe7db13bf5576f34e1c9a1acb5 100644 (file)
@@ -8,7 +8,12 @@
 // 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:attempted remainder with a divisor of zero
+
+#![feature(rustc_attrs)]
+#[rustc_no_mir] // FIXME #29769 MIR overflow checking is TBD.
 fn main() {
     let y = 0;
     let _z = 1 % y;