1 // run-fail
2 // error-pattern:thread 'main' panicked at 'attempt to add with overflow'
3 // compile-flags: -C debug-assertions
4 // ignore-emscripten no processes
5 
6 #![allow(arithmetic_overflow)]
7 
main()8 fn main() {
9     let _x = 200u8 + 200u8 + 200u8;
10 }
11