]> Cypherpunks repositories - gostls13.git/commit
reflect: add direct call tests to TestMakeFuncVariadic
authorMichael Hudson-Doyle <michael.hudson@linaro.org>
Wed, 8 Oct 2014 22:58:56 +0000 (15:58 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 8 Oct 2014 22:58:56 +0000 (15:58 -0700)
commit14cd40d91267820c2db888a6d11e79a413f766b5
tree4d64baf012e336ef693757b36b5714dd30040caf
parent91e8554b8b9edfb4b05b2c04a50daf4df8ffed7b
reflect: add direct call tests to TestMakeFuncVariadic

TestMakeFuncVariadic only called the variadic function via Call and
CallSlice, not via a direct function call.

I thought these tests would fail under gccgo tip, but they don't.  Still seems worth having though.

LGTM=iant
R=golang-codereviews, gobot, iant
CC=golang-codereviews
https://golang.org/cl/152060043
src/reflect/all_test.go