Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
run-fail
/
overflowing-rsh-3.rs
blob: 7598e026d8139c76fc1910c1e7358b10435690c3 [
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
_i64
>>
64
;
}