summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug412.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug412.go')
-rw-r--r--test/fixedbugs/bug412.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug412.go b/test/fixedbugs/bug412.go
index 9148b68e7..8dd0a5fcc 100644
--- a/test/fixedbugs/bug412.go
+++ b/test/fixedbugs/bug412.go
@@ -7,10 +7,10 @@
package p
type t struct {
- x int // ERROR "duplicate field x"
+ x int // ERROR "duplicate field x|duplicate field name .x."
x int
}
func f(t *t) int {
- return t.x // ERROR "ambiguous selector t.x"
+ return t.x // GC_ERROR "ambiguous selector t.x"
}