aboutsummaryrefslogtreecommitdiff
path: root/test/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/init.go')
-rw-r--r--test/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/init.go b/test/init.go
index 317f2472cb..5e182281da 100644
--- a/test/init.go
+++ b/test/init.go
@@ -14,6 +14,6 @@ func init() {
func main() {
init() // ERROR "undefined.*init"
- runtime.init() // ERROR "undefined.*runtime\.init"
+ runtime.init() // ERROR "undefined.*runtime\.init|reference to undefined name"
var _ = init // ERROR "undefined.*init"
}