summaryrefslogtreecommitdiff
path: root/test/func1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/func1.go')
-rw-r--r--test/func1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/func1.go b/test/func1.go
index c89f7ff2e..fb6f56184 100644
--- a/test/func1.go
+++ b/test/func1.go
@@ -14,6 +14,6 @@ func f1(a int) (int, float32) {
}
-func f2(a int) (a int, b float32) { // ERROR "redeclared|definition"
+func f2(a int) (a int, b float32) { // ERROR "duplicate argument a|definition"
return 8, 8.0
}