Sign in
go
/
go.git
/
refs/heads/master
/
.
/
test
/
prove_invert_loop_with_unused_iterators.go
blob: 6feef1d41b3eef73ce2c2473827511d84998a3b0 [
file
] [
log
] [
blame
] [
edit
]
// errorcheck -0 -d=ssa/prove/debug=1
//go:build amd64 || arm64
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()
}
}