Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
src
/
tools
/
miri
/
tests
/
fail
/
intrinsics
/
unchecked_shl.rs
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`
}
}