Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
run-fail
/
overflowing-mul.rs
blob: 2dfc9bb5ae472d7e7f0cf73bff94580b68c17464 [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to multiply with overflow'
// compile-flags: -C debug-assertions
#![
allow
(
arithmetic_overflow
)]
fn
main
()
{
let
x
=
200u8
*
4
;
}