Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
run-fail
/
overflowing-lsh-3.rs
blob: 8f06cd11533542e052eaaccfe381564ac341bc23 [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to shift left with overflow'
// compile-flags: -C debug-assertions
#![
warn
(
exceeding_bitshifts
)]
fn
main
()
{
let
_x
=
1
_u64
<<
64
;
}