aboutsummaryrefslogtreecommitdiff
path: root/test/escape_calls.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/escape_calls.go')
-rw-r--r--test/escape_calls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/escape_calls.go b/test/escape_calls.go
index 9e1db5426e..aa7c7f516c 100644
--- a/test/escape_calls.go
+++ b/test/escape_calls.go
@@ -11,7 +11,7 @@
package foo
-func f(buf []byte) []byte { // ERROR "leaking param: buf to result ~r1 level=0$"
+func f(buf []byte) []byte { // ERROR "leaking param: buf to result ~r0 level=0$"
return buf
}