1
0
mirror of https://github.com/golang/go synced 2024-11-08 19:16:25 -07:00
go/misc/cgo/testgodefs
Ian Lance Taylor eaa97fbf20 cmd/cgo: don't translate bitfields into Go fields
The cgo tool would sometimes emit a bitfield at an offset that did not
correspond to the C offset, such as for the example in the new test.

Change-Id: I61b2ca10ee44a42f81c13ed12865f2060168fed5
Reviewed-on: https://go-review.googlesource.com/c/go/+/252378
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2020-09-16 03:02:13 +00:00
..
testdata cmd/cgo: don't translate bitfields into Go fields 2020-09-16 03:02:13 +00:00
testgodefs_test.go cmd/cgo: don't translate bitfields into Go fields 2020-09-16 03:02:13 +00:00