Sign in
go
/
tools
/
299f270db45902e93469b1152fafed034bb3f033
/
.
/
go
/
analysis
/
passes
/
fieldalignment
/
testdata
/
src
/
a
/
zero.go
blob: 4258101cc161e658ab58e6b96f5e072c66590bea [
file
] [
log
] [
blame
]
package a
type ZeroGood struct {
a [0]byte
b uint32
}
type ZeroBad struct {
// want "struct of size 8 could be 4"
a uint32
b [0]byte
}