]> Cypherpunks repositories - gostls13.git/commit
runtime: add test for issue 8047.
authorKeith Randall <khr@golang.org>
Thu, 12 Jun 2014 00:34:46 +0000 (20:34 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 12 Jun 2014 00:34:46 +0000 (20:34 -0400)
commitaa04caa7594506d805f82b7d7abed35a3a8fbec4
tree2f4ab97182e061df5cb98338f4e6a476201a49f6
parent3d68dc332517d7f6ef38d42e9a3211655958b20b
runtime: add test for issue 8047.

Make sure stack copier doesn't barf on a nil defer.
Bug was fixed in https://golang.org/cl/101800043
This change just adds a test.

Fixes #8047

LGTM=dvyukov, rsc
R=dvyukov, rsc
CC=golang-codereviews
https://golang.org/cl/108840043
test/fixedbugs/issue8047.go [new file with mode: 0644]