blob: ec5279d321cdb8e23d7bf6fc3f009ab0942bd8d0 [file] [log] [blame]
// run-fail
// error-pattern:thread 'main' panicked
// error-pattern:attempt to multiply with overflow
// ignore-emscripten no processes
// compile-flags: -C debug-assertions
#![allow(arithmetic_overflow)]
fn main() {
let x = 200u8 * 4;
}