]> Cypherpunks repositories - gostls13.git/commit
test: add test for export/import of recover & defer
authorDan Scales <danscales@google.com>
Mon, 4 Oct 2021 23:15:17 +0000 (16:15 -0700)
committerDan Scales <danscales@google.com>
Tue, 5 Oct 2021 20:53:02 +0000 (20:53 +0000)
commit695a59b5139ca8791e19b84259dc85622eea47e8
tree8783be241221d67d145323f37084d808b427e03d
parent0d6561b72b8bd837e4691346579880a7ef7fc18a
test: add test for export/import of recover & defer

Add a simple test with an exported generic function that does
recover/defer, to test that recover/defer are exported/imported
properly (and a generic function with recover/defer works fine).

Change-Id: Idc3af101cbb78fc96bf945f1f5eab2740dd8994b
Reviewed-on: https://go-review.googlesource.com/c/go/+/353883
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
test/typeparam/recoverimp.dir/a.go [new file with mode: 0644]
test/typeparam/recoverimp.dir/main.go [new file with mode: 0644]
test/typeparam/recoverimp.go [new file with mode: 0644]
test/typeparam/recoverimp.out [new file with mode: 0644]