blob: abb345938fa0e1f8fd9b30d50ab8b3174a383863 [file] [log] [blame]
#![feature(unchecked_shifts)]
fn main() {
unsafe {
let _n = 1i8.unchecked_shl(8);
//~^ ERROR: overflowing shift by 8 in `unchecked_shl`
}
}