summaryrefslogtreecommitdiff
path: root/test/funcdup2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/funcdup2.go')
-rw-r--r--test/funcdup2.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/funcdup2.go b/test/funcdup2.go
index aeb5f7eb6..1db1a396b 100644
--- a/test/funcdup2.go
+++ b/test/funcdup2.go
@@ -7,11 +7,11 @@
package p
var T interface {
- F1(i int) (i int) // ERROR "duplicate argument i"
- F2(i, i int) // ERROR "duplicate argument i"
- F3() (i, i int) // ERROR "duplicate argument i"
+ F1(i int) (i int) // ERROR "duplicate argument i|redefinition|previous"
+ F2(i, i int) // ERROR "duplicate argument i|redefinition|previous"
+ F3() (i, i int) // ERROR "duplicate argument i|redefinition|previous"
}
-var T1 func(i, i int) // ERROR "duplicate argument i"
-var T2 func(i int) (i int) // ERROR "duplicate argument i"
-var T3 func() (i, i int) // ERROR "duplicate argument i"
+var T1 func(i, i int) // ERROR "duplicate argument i|redefinition|previous"
+var T2 func(i int) (i int) // ERROR "duplicate argument i|redefinition|previous"
+var T3 func() (i, i int) // ERROR "duplicate argument i|redefinition|previous"