aboutsummaryrefslogtreecommitdiff
path: root/test/typecheck.go
diff options
context:
space:
mode:
authorDaniel Morsing <daniel.morsing@gmail.com>2014-01-03 21:03:20 +0100
committerDaniel Morsing <daniel.morsing@gmail.com>2014-01-03 21:03:20 +0100
commitf2e94b58a01389cb9dcf51821b96435343594879 (patch)
tree55b705cec1442c287be600113767cc73084381b0 /test/typecheck.go
parent880442f110ce33b2981561461841979d58848b78 (diff)
downloadgo-f2e94b58a01389cb9dcf51821b96435343594879.tar.gz
go-f2e94b58a01389cb9dcf51821b96435343594879.zip
cmd/gc: silence assignment errors to undefined symbols
Fixes #6406. R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/46900043
Diffstat (limited to 'test/typecheck.go')
-rw-r--r--test/typecheck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typecheck.go b/test/typecheck.go
index a2ad91ff4c..6f1204289a 100644
--- a/test/typecheck.go
+++ b/test/typecheck.go
@@ -14,5 +14,5 @@ func mine(int b) int { // ERROR "undefined.*b"
func main() {
mine() // GCCGO_ERROR "not enough arguments"
- c = mine() // ERROR "undefined.*c|not enough arguments" "cannot assign to c"
+ c = mine() // ERROR "undefined.*c|not enough arguments"
}