Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-2.rs
blob: b5615cacc2055b31acd3ebcd69165f2ae0f3ef45 [
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
_x
=
-
1
_i32
>>
-
1
;
}