rust/tests/run-pass/panic/overflowing-lsh-neg.rs
2019-12-02 16:04:31 +01:00

8 lines
163 B
Rust

// ignore-windows: Unwind panicking does not currently work on Windows
#![allow(exceeding_bitshifts)]
#![allow(const_err)]
fn main() {
let _n = 2i64 << -1;
}