gc: test that asserts closures are not wrapped when they don't have closure vars.

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5529060
1 file changed