summaryrefslogtreecommitdiff
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
commitdadd810bb9d6d1894f4941492eed7dee416ac9b9 (patch)
tree077721455029d99df6ad8d9e885925e3a9500989 /test/typecheck.go
parent1cb79395e7e13de039970da37b41b950ff3ee445 (diff)
downloadgo-dadd810bb9d6d1894f4941492eed7dee416ac9b9.tar.gz
cmd/gc: silence assignment errors to undefined symbols
Fixes issue 6406. R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/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 a2ad91ff4..6f1204289 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"
}