rust/tests/run-fail/panic/overflowing-lsh-neg.rs

6 lines
71 B
Rust

#![allow(arithmetic_overflow)]
fn main() {
let _n = 2i64 << -1;
}