about summary refs log tree commit diff
path: root/src/tools/miri/tests/panic/overflowing-lsh-neg.rs
blob: bf5eed1c550f1b1b4f81491454e2825a5e8e6f28 (plain)
1
2
3
4
5
#![allow(arithmetic_overflow)]

fn main() {
    let _n = 2i64 << -1;
}