Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-2.rs
blob: 83dcbd13d2ad8200a93891dab5d517e006bc9485 [
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
>>
-
1
;
}