Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
run-fail
/
overflowing-lsh-3.rs
blob: 4a575c3fa7f6a07b8dc7cea36dea130266c03b7b [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to shift left with overflow'
// compile-flags: -C debug-assertions
#![
warn
(
arithmetic_overflow
)]
#![
warn
(
const_err
)]
fn
main
()
{
let
_x
=
1
_u64
<<
64
;
}