1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:07:59 -07:00

test: avoid future 'declared and not used' error

See also issue 6414.

R=r
CC=golang-dev
https://golang.org/cl/13683044
This commit is contained in:
Robert Griesemer 2013-09-17 15:24:54 -07:00
parent 0d0c748930
commit 99d87720ad

View File

@ -1136,6 +1136,7 @@ func foo126() {
px = &i // ERROR "&i escapes"
}()
}
_ = px
}
var px *int