Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
numbers-arithmetic
/
overflowing-lsh-3.rs
blob: b2bdd09bffb91c050f0fac4a936210482618021c [
file
]
// build-fail
// compile-flags: -C debug-assertions
#![
deny
(
arithmetic_overflow
)]
fn
main
()
{
let
_x
=
1
_u64
<<
64
;
//~^ ERROR: this arithmetic operation will overflow
}