From 56067e31f257940113c0fdb2bb8e818d1b62881e Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Fri, 12 Sep 2025 16:04:24 -0400 Subject: std: remove unused declarations One function was unused by mistake, and is now used as intended. Change-Id: I42ae7481c6f794b310bdac656ea525bd882f146e Reviewed-on: https://go-review.googlesource.com/c/go/+/706815 Auto-Submit: Alan Donovan Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI --- src/runtime/stack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/stack_test.go') diff --git a/src/runtime/stack_test.go b/src/runtime/stack_test.go index a7c6fc8e5a..eb8de47e86 100644 --- a/src/runtime/stack_test.go +++ b/src/runtime/stack_test.go @@ -290,7 +290,7 @@ func setBig(p *int, x int, b bigBuf) { func TestDeferPtrsPanic(t *testing.T) { for i := 0; i < 100; i++ { c := make(chan int, 1) - go testDeferPtrsGoexit(c, i) + go testDeferPtrsPanic(c, i) if n := <-c; n != 42 { t.Fatalf("defer's stack references were not adjusted appropriately (i=%d n=%d)", i, n) } -- cgit v1.3-5-g9baa