Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-1.rs
blob: 4592b2b6260bd1889809ac9854e94d071f72023b [
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
_x
=
-
1
_i32
>>
32
;
}