diff options
author | Ian Lance Taylor <iant@golang.org> | 2011-03-26 11:24:02 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2011-03-26 11:24:02 -0700 |
commit | d607cb289d8a3c762a5d760274895129d6cc2dd0 (patch) | |
tree | 4cb0ca9725a591e04fa21ec3714c3a7328d3c549 /test/init.go | |
parent | a4df525a79d3db1ede99a885724943715ea2abc4 (diff) | |
download | go-d607cb289d8a3c762a5d760274895129d6cc2dd0.tar.gz go-d607cb289d8a3c762a5d760274895129d6cc2dd0.zip |
test: match gccgo error messages for init.go
init.go:16:10: error: invalid reference to unexported identifier ‘runtime.init’
init.go:15:2: error: reference to undefined name ‘init’
init.go:17:10: error: reference to undefined name ‘init’
R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4289074
Diffstat (limited to 'test/init.go')
-rw-r--r-- | test/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/init.go b/test/init.go index b6c8c97063..74c2d5c261 100644 --- a/test/init.go +++ b/test/init.go @@ -12,7 +12,7 @@ func init() { } func main() { - init() // ERROR "undefined: init" + init() // ERROR "undefined.*init" runtime.init() // ERROR "unexported.*runtime\.init" - var _ = init // ERROR "undefined: init" + var _ = init // ERROR "undefined.*init" } |