]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix bug423.go to actually fail with older releases.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 21 Feb 2012 06:50:10 +0000 (07:50 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 21 Feb 2012 06:50:10 +0000 (07:50 +0100)
The supposedly overflowing variable was registerized.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5687061

test/fixedbugs/bug423.go

index 882108df8b67533dfa388da551ddb93330097c14..7268912454268c72300762a23573c695949dd6b7 100644 (file)
@@ -14,7 +14,7 @@ func main() {
 }
 
 func F(arg int) {
-       var X int64
+       var X interface{}
        _ = X // used once
        X = 0
        X = 0