]> Cypherpunks repositories - gostls13.git/commitdiff
fix build
authorRobert Griesemer <gri@golang.org>
Mon, 1 Nov 2010 22:25:39 +0000 (15:25 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 1 Nov 2010 22:25:39 +0000 (15:25 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/2820041

src/pkg/go/printer/testdata/statements.golden

index 02ac8a549753fd64cfc0dee48342ba3256d66abe..5eceb7dd5555562c800cc964f9b22c4104d94e75 100644 (file)
@@ -237,6 +237,8 @@ func _() {
 
        if struct{ x bool }{false}.x {
        }
+       if (struct{ x bool }{false}.x) == false {
+       }
        if struct{ x bool }{false}.x == false {
        }
 }