1
0
mirror of https://github.com/golang/go synced 2024-11-12 13:10:33 -07:00
go/misc/cgo/testgodefs/testdata
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
..
anonunion.go
bitfields.go cmd/cgo: don't translate bitfields into Go fields 2020-09-16 03:02:13 +00:00
fieldtypedef.go
issue8478.go
issue37479.go
issue37621.go
issue38649.go cmd/cgo: use type aliases for #define type macros 2020-05-01 18:01:28 +00:00
issue39534.go cmd/cgo: in -godefs mode, don't change constant to type 2020-06-11 21:53:45 +00:00
main.go cmd/cgo: don't translate bitfields into Go fields 2020-09-16 03:02:13 +00:00