1 2 3 4 5 6 7
//@ run-fail //@ error-pattern:location-divide-assign-by-zero.rs fn main() { let mut a = 1; a /= &0; }