]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/overflowing-mul.rs
Add #[rustc_no_mir] to make tests pass with -Z orbit.
[rust.git] / src / test / run-fail / overflowing-mul.rs
index a413a6f0abfa29d489fdac600e5f05a6cace1c2d..8cba700bbf9a3e0b59faa56765dadaf25407a4b4 100644 (file)
@@ -8,9 +8,13 @@
 // 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 'arithmetic operation overflowed'
 // compile-flags: -C debug-assertions
 
+#![feature(rustc_attrs)]
+#[rustc_no_mir] // FIXME #29769 MIR overflow checking is TBD.
 fn main() {
     let x = 200u8 * 4;
 }