diff options
author | Daniel Morsing <daniel.morsing@gmail.com> | 2014-01-03 21:03:20 +0100 |
---|---|---|
committer | Daniel Morsing <daniel.morsing@gmail.com> | 2014-01-03 21:03:20 +0100 |
commit | f2e94b58a01389cb9dcf51821b96435343594879 (patch) | |
tree | 55b705cec1442c287be600113767cc73084381b0 /test/typecheck.go | |
parent | 880442f110ce33b2981561461841979d58848b78 (diff) | |
download | go-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.go | 2 |
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" } |