summaryrefslogtreecommitdiff
path: root/src/test/run-fail/overflowing-lsh-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/overflowing-lsh-1.rs')
-rw-r--r--src/test/run-fail/overflowing-lsh-1.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-fail/overflowing-lsh-1.rs b/src/test/run-fail/overflowing-lsh-1.rs
index 62935bacce8..a2721011298 100644
--- a/src/test/run-fail/overflowing-lsh-1.rs
+++ b/src/test/run-fail/overflowing-lsh-1.rs
@@ -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_i32 << 32;
}