aboutsummaryrefslogtreecommitdiff
path: root/test/blank1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/blank1.go')
-rw-r--r--test/blank1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blank1.go b/test/blank1.go
index c9a8e6a290..70e01b1a30 100644
--- a/test/blank1.go
+++ b/test/blank1.go
@@ -13,7 +13,7 @@ var t struct {
_ int
}
-func (x int) _() { // ERROR "cannot define new methods on non-local type"
+func (x int) _() { // ERROR "methods on non-local type"
println(x)
}