Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-5.rs
blob: 793f495240d578728ab6a1d8e12aaa83115460f3 [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to shift right with overflow'
// compile-flags: -C debug-assertions
#![
warn
(
exceeding_bitshifts
)]
fn
main
()
{
let
_n
=
1i64
>>
[
64
][
0
];
}