2018-05-07 17:30:33 +03:00

11 lines
114 B
Go

package testdata
func _() {
x := 0
for {
_ = x
x = 0 // ERROR "ineffectual assignment to `x`"
x = 0
}
}