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