rust/tests/run-pass/panic/overflowing-lsh-neg.rs
2020-06-27 14:43:37 +02:00

6 lines
71 B
Rust

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