diff options
author | Ian Lance Taylor <iant@golang.org> | 2010-01-30 11:31:30 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2010-01-30 11:31:30 -0800 |
commit | ffed64d6a7710ae031813ee97806d318a0074b2b (patch) | |
tree | df90b13e9ddefad0ff42f5df465b63cef765b260 /test/runtime.go | |
parent | 2ff02e7748b40a1c64736db79ddd458d4edff65a (diff) | |
download | golang-ffed64d6a7710ae031813ee97806d318a0074b2b.tar.gz |
New gccgo error message; match both compilers with one string.
8g:
runtime.go:19: cannot refer to unexported name runtime.printbool
gccgo:
runtime.go:19:10: error: invalid reference to unexported identifier ‘runtime.printbool’
R=rsc
CC=golang-dev
http://codereview.appspot.com/194157
Diffstat (limited to 'test/runtime.go')
-rw-r--r-- | test/runtime.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtime.go b/test/runtime.go index 9507300a2..256873a7a 100644 --- a/test/runtime.go +++ b/test/runtime.go @@ -16,5 +16,5 @@ package main import "runtime" func main() { - runtime.printbool(true); // ERROR "cannot refer|undefined identifier" + runtime.printbool(true); // ERROR "unexported" } |