go/types: add sizeof test
This is a direct port of CL 310530 to go/types, adjusted only for names and to account for the smaller size of objects in go/types, due to (I assume) token.Pos vs syntax.Pos. Change-Id: I0cc34d56e41c1e66b17edd0ccd3f281d97a6b235 Reviewed-on: https://go-review.googlesource.com/c/go/+/312091 Trust: Robert Findley <rfindley@google.com> Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by:Robert Griesemer <gri@golang.org>
Loading
Please sign in to comment