Sign in
android
/
toolchain
/
rustc
/
refs/heads/upstream-master
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-3.rs
blob: 3521c0506591c37f7304d1e6f3cbd1c5c6dcbdcb [
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
)]
fn
main
()
{
let
_x
=
-
1
_i64
>>
64
;
}