2020-04-16 01:50:32 -05:00
|
|
|
// run-fail
|
2023-06-20 12:16:18 -05:00
|
|
|
// error-pattern:thread 'main' panicked
|
|
|
|
// error-pattern:attempt to add with overflow
|
2015-03-02 16:51:24 -06:00
|
|
|
// compile-flags: -C debug-assertions
|
2020-05-07 10:39:02 -05:00
|
|
|
// ignore-emscripten no processes
|
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 + 200u8 + 200u8;
|
2015-01-05 23:56:30 -06:00
|
|
|
}
|