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:
parent
0d0c748930
commit
99d87720ad
@ -1136,6 +1136,7 @@ func foo126() {
|
||||
px = &i // ERROR "&i escapes"
|
||||
}()
|
||||
}
|
||||
_ = px
|
||||
}
|
||||
|
||||
var px *int
|
||||
|
Loading…
Reference in New Issue
Block a user