Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
run-fail
/
overflowing-lsh-3.rs
blob: 1768a8e6d3138f49f5cebb5b2449cba729065e2d [
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
_u64
<<
64
;
}