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