mirror of
https://github.com/golang/go
synced 2024-11-19 01:54:39 -07:00
11 lines
223 B
Go
11 lines
223 B
Go
|
// +build amd64
|
||
|
// errorcheck -0 -d=ssa/prove/debug=1
|
||
|
|
||
|
package main
|
||
|
|
||
|
func invert(b func(), n int) {
|
||
|
for i := 0; i < n; i++ { // ERROR "(Inverted loop iteration|Induction variable: limits \[0,\?\), increment 1)"
|
||
|
b()
|
||
|
}
|
||
|
}
|