mirror of https://github.com/golang/go.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
This commit is contained in:
parent
f4d714ca2d
commit
637e0eecb4
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue