diff options
Diffstat (limited to 'misc/cgo/test/callback.go')
-rw-r--r-- | misc/cgo/test/callback.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/test/callback.go b/misc/cgo/test/callback.go index e6a1462b3..4f5d3f855 100644 --- a/misc/cgo/test/callback.go +++ b/misc/cgo/test/callback.go @@ -110,7 +110,7 @@ func testZeroArgCallback(t *testing.T) { func goFoo() { x := 1 for i := 0; i < 10000; i++ { - // variadic call mallocs + writes to + // variadic call mallocs + writes to variadic(x, x, x) if x != 1 { panic("bad x") |