1 2 3 4 5 6 7 8
// run-fail // ignore-wasm32 // error-pattern:location-add-assign-overflow.rs fn main() { let mut a: u8 = 255; a += &1; }