aboutsummaryrefslogtreecommitdiff
path: root/test/inline_variadic.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/inline_variadic.go')
-rw-r--r--test/inline_variadic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/inline_variadic.go b/test/inline_variadic.go
index 687048a192..49483d77f7 100644
--- a/test/inline_variadic.go
+++ b/test/inline_variadic.go
@@ -14,6 +14,6 @@ func head(xs ...string) string { // ERROR "can inline head" "leaking param: xs t
}
func f() string { // ERROR "can inline f"
- x := head("hello", "world") // ERROR "inlining call to head" "\[\]string{...} does not escape"
+ x := head("hello", "world") // ERROR "inlining call to head" "\.\.\. argument does not escape"
return x
}