]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: add sizeof test
authorRob Findley <rfindley@google.com>
Tue, 20 Apr 2021 22:39:03 +0000 (18:39 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 21 Apr 2021 20:35:43 +0000 (20:35 +0000)
commit39785912b99b311bc7c8d085703c1421087a79e1
tree470da49bb5e322a2db3f68360c4779e40b4c3c4d
parent255056395e5da17c0f660bba289725bd12c1f024
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>
src/go/types/sizeof_test.go [new file with mode: 0644]