]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/inline_variadic.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / inline_variadic.go
index 687048a1922d55ca42ac1c334bd1380978e4d499..49483d77f79934b9f4011da0705daba3faeb2a7b 100644 (file)
@@ -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
 }