Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
eea91c308f70d6715f973bdd0352723d672f3b1c
/
.
/
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
;
}