Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
run-fail
/
overflowing-lsh-1.rs
blob: 37fbf01e487dc6610a6649b0e3245de218bc1e42 [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to shift left with overflow'
// compile-flags: -C debug-assertions
#![
warn
(
exceeding_bitshifts
)]
#![
warn
(
const_err
)]
fn
main
()
{
let
_x
=
1
_i32
<<
32
;
}