Commit 637e0eec authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent f4d714ca
...@@ -16,5 +16,5 @@ package main ...@@ -16,5 +16,5 @@ package main
import "runtime" import "runtime"
func main() { func main() {
runtime.printbool(true); // ERROR "cannot refer|undefined identifier" runtime.printbool(true); // ERROR "unexported"
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment