runtime: fix parameter checking in syscall.NewCallback
I have made mistake while converting it to Go (CL 132820043). Added test as penance for my sin. LGTM=rsc R=golang-codereviews, bradfitz, rsc CC=golang-codereviews https://golang.org/cl/136560043
Showing
Please
register
or
sign in
to comment