Sign in
go
/
go
/
30886b1b1ea0ff0282419e4deefdd35a51b2c9fc
/
.
/
test
/
prove_invert_loop_with_unused_iterators.go
blob: f278e5aee0160238d2fbafc20fa82145e5ec2837 [
file
] [
log
] [
blame
]
// +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()
}
}