mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue