Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-5.rs
blob: 20ef324a82aeb54048586fea5918529049b77529 [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to shift right with overflow'
// compile-flags: -C debug-assertions
#![
warn
(
arithmetic_overflow
)]
#![
warn
(
const_err
)]
fn
main
()
{
let
_n
=
1i64
>>
[
64
][
0
];
}