summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug228.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug228.go')
-rw-r--r--test/fixedbugs/bug228.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fixedbugs/bug228.go b/test/fixedbugs/bug228.go
index 243d20ee7..81bc90856 100644
--- a/test/fixedbugs/bug228.go
+++ b/test/fixedbugs/bug228.go
@@ -6,14 +6,14 @@
package main
-func f(x int, y ...) // ok
+func f(x int, y ...int) // ok
func g(x int, y float) (...) // ERROR "[.][.][.]"
-func h(x, y ...) // ERROR "[.][.][.]"
+func h(x, y ...int) // ERROR "[.][.][.]"
-func i(x int, y ..., z float) // ERROR "[.][.][.]"
+func i(x int, y ...int, z float) // ERROR "[.][.][.]"
-var x ...; // ERROR "[.][.][.]|syntax|type"
+var x ...int; // ERROR "[.][.][.]|syntax|type"
-type T ...; // ERROR "[.][.][.]|syntax|type"
+type T ...int; // ERROR "[.][.][.]|syntax|type"