2020-04-16 01:50:32 -05:00
|
|
|
// run-fail
|
2016-08-03 21:01:06 -05:00
|
|
|
// error-pattern:thread 'main' panicked at 'attempt to multiply with overflow'
|
2020-05-07 10:39:02 -05:00
|
|
|
// ignore-emscripten no processes
|
2015-03-02 16:51:24 -06:00
|
|
|
// compile-flags: -C debug-assertions
|
2015-02-19 05:37:27 -06:00
|
|
|
|
2020-02-18 15:49:47 -06:00
|
|
|
#![allow(arithmetic_overflow)]
|
2018-05-11 07:33:37 -05:00
|
|
|
|
2015-01-05 23:56:30 -06:00
|
|
|
fn main() {
|
2015-10-02 03:36:45 -05:00
|
|
|
let x = 200u8 * 4;
|
2015-01-05 23:56:30 -06:00
|
|
|
}
|