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 misc/cgo/testgodefs: move source files into testdata 2019-02-26 02:44:12 +00:00
bitfields.go cmd/cgo: don't translate bitfields into Go fields 2020-09-16 03:02:13 +00:00
fieldtypedef.go misc/cgo/testgodefs: move source files into testdata 2019-02-26 02:44:12 +00:00
issue8478.go misc/cgo/testgodefs: move source files into testdata 2019-02-26 02:44:12 +00:00
issue37479.go cmd/cgo, misc/cgo: only cache anonymous struct typedefs with parent name 2020-03-30 18:44:17 +00:00
issue37621.go cmd/cgo, misc/cgo: only cache anonymous struct typedefs with parent name 2020-03-30 18:44:17 +00:00
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