]> Cypherpunks repositories - gostls13.git/commit
reflect: Add tests for Call with functions taking and returning structs.
authorMichael Hudson-Doyle <michael.hudson@linaro.org>
Tue, 17 Dec 2013 22:49:51 +0000 (14:49 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 17 Dec 2013 22:49:51 +0000 (14:49 -0800)
commit0a6ad46b4f59f38fd1b55d0f46134133d74bd376
tree5ae45db0f69e480fc5496b76397667e5be56ecf8
parent8d2757cba4333f945ac29fdf443b5657ed399158
reflect: Add tests for Call with functions taking and returning structs.

gccgo has problems using reflect.Call with functions that take and
return structs with no members.  Prior to fixing that problem there, I
thought it sensible to add some tests of this situation.

Update #6761

First contribution to Go, apologies in advance if I'm doing it wrong.

R=golang-dev, dave, minux.ma, iant, khr, bradfitz
CC=golang-dev
https://golang.org/cl/26570046
src/pkg/reflect/all_test.go