From: Ian Lance Taylor Date: Sat, 30 Jan 2010 19:31:30 +0000 (-0800) Subject: New gccgo error message; match both compilers with one string. X-Git-Tag: weekly.2010-02-04~54 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=637e0eecb43e4a17f4e6ac7de38bf1ec70b8170b;p=gostls13.git 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 https://golang.org/cl/194157 --- diff --git a/test/runtime.go b/test/runtime.go index 9507300a27..256873a7a9 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" }