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:
Rémy Oudompheng 2012-02-21 07:50:10 +01:00
parent d75023e1d1
commit 9666a959cf

View file

@ -14,7 +14,7 @@ func main() {
}
func F(arg int) {
var X int64
var X interface{}
_ = X // used once
X = 0
X = 0