blob: 0464d1f9e5e08713a25ce073fa95fe99d9a7b7ca [file] [log] [blame]
// errorcheck -lang=go1.22
//go:build go1.21
// We need a line directive before the package clause,
// but don't change file name or position so that the
// error message appears at the right place.
//line issue67141.go:10
package p
func _() {
for range 10 { // ERROR "cannot range over 10"
}
}