aboutsummaryrefslogtreecommitdiff
path: root/test/runtime.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2010-01-30 11:31:30 -0800
committerIan Lance Taylor <iant@golang.org>2010-01-30 11:31:30 -0800
commit637e0eecb43e4a17f4e6ac7de38bf1ec70b8170b (patch)
tree02171c4500a32692a562d84f754e2e09778f91eb /test/runtime.go
parentf4d714ca2def2b1435b2f36cda55e38e49f2fb60 (diff)
downloadgo-637e0eecb43e4a17f4e6ac7de38bf1ec70b8170b.tar.gz
go-637e0eecb43e4a17f4e6ac7de38bf1ec70b8170b.zip
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
Diffstat (limited to 'test/runtime.go')
-rw-r--r--test/runtime.go2
1 files changed, 1 insertions, 1 deletions
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"
}