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