Sign in
fuchsia
/
third_party
/
rust
/
97d936423c914c4e3402bfecfd6943e1edf23815
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-1.rs
blob: 14514540c06e1c8801540c73e012b5acb6505281 [
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
_i32
>>
32
;
}