package main
var x [3][3]int
func main() {
for i := range 3 {
x[i][i] = 0
}
}
Crashes the compiler with:
tmp2.go:5:6: internal compiler error: 'main': value i (nil) incorrectly live at entry
Probably related to rewriting loops to clear builtin calls.
Found while trying more cases that might happen in #80519
Crashes the compiler with:
Probably related to rewriting loops to
clearbuiltin calls.Found while trying more cases that might happen in #80519