aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2011-09-20 09:31:07 -0700
committerIan Lance Taylor <iant@golang.org>2011-09-20 09:31:07 -0700
commitc55d0c4dd7947433a21171ccd4ad90592d8b04e7 (patch)
tree5117bb9e4f657a5183abe7fc93d783aa2958fd9d
parentfd3978552ba514bff23ebadac6a75066c36f651d (diff)
downloadgo-c55d0c4dd7947433a21171ccd4ad90592d8b04e7.tar.gz
go-c55d0c4dd7947433a21171ccd4ad90592d8b04e7.zip
test: match gccgo error message for bug337.go
bug337.go:17:2: error: value computed is not used R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5094042
-rw-r--r--test/fixedbugs/bug337.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug337.go b/test/fixedbugs/bug337.go
index 62e310e725..ca9b4b4536 100644
--- a/test/fixedbugs/bug337.go
+++ b/test/fixedbugs/bug337.go
@@ -14,6 +14,6 @@
package main
func main() {
- len("foo") // ERROR "len"
+ len("foo") // ERROR "len|value computed is not used"
}