Sign in
go
/
go
/
0a5b33a8839431a3959273b5ed4a5f3aa77fddfa
/
.
/
test
/
prove_invert_loop_with_unused_iterators.go
blob: c66f20b6e93cbd54fd4019106d1779fbc000fc5a [
file
] [
log
] [
blame
]
// errorcheck -0 -d=ssa/prove/debug=1
//go:build amd64
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()
}
}