blob: 48110365a81df6d3a5612e7878295884e6d3e792 [file] [log] [blame]
// error-pattern:thread 'main' panicked at 'attempt to multiply with overflow'
// compile-flags: -C debug-assertions
#![allow(const_err)]
fn main() {
let x = 200u8 * 4;
}