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