]> Cypherpunks repositories - gostls13.git/commitdiff
test: match gccgo error message for bug337.go
authorIan Lance Taylor <iant@golang.org>
Tue, 20 Sep 2011 16:31:07 +0000 (09:31 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Sep 2011 16:31:07 +0000 (09:31 -0700)
bug337.go:17:2: error: value computed is not used

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5094042

test/fixedbugs/bug337.go

index 62e310e725f7b41fa55cd8b7655ae8e516fedfb6..ca9b4b45369504dc4a4b35a5c94ab4ee1ceabe80 100644 (file)
@@ -14,6 +14,6 @@
 package main
 
 func main() {
-       len("foo")      // ERROR "len"
+       len("foo")      // ERROR "len|value computed is not used"
 }