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