mirror of
https://github.com/golang/go
synced 2024-11-22 00:04:41 -07:00
test: fix bug423.go to actually fail with older releases.
The supposedly overflowing variable was registerized. R=golang-dev, r CC=golang-dev https://golang.org/cl/5687061
This commit is contained in:
parent
d75023e1d1
commit
9666a959cf
@ -14,7 +14,7 @@ func main() {
|
||||
}
|
||||
|
||||
func F(arg int) {
|
||||
var X int64
|
||||
var X interface{}
|
||||
_ = X // used once
|
||||
X = 0
|
||||
X = 0
|
||||
|
Loading…
Reference in New Issue
Block a user