Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-1.rs
blob: 24a77da896d9eafb5d665c56c039fb23e22785ad [
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
>>
32
;
}