blob: 250cd7e1b25e90f1522af81644ffc8ab0c085698 [file] [log] [blame]
// check-pass
fn main() {
let mut i = [1, 2, 3];
i[i[0]] = 0;
i[i[0] - 1] = 0;
}