Closed phadej closed 1 month ago
... even if we don't yet support bitnarrowed fields. See #132
struct S4 { char b; int a; };
DeclStruct Struct { structTag = Just "S4", structSizeof = 8, structAlignment = 4, structFields = [ StructField { fieldName = "b", fieldType = PrimChar}, StructField { fieldName = "a", fieldType = PrimInt}]}])
the total size is 8 not 1+4=5.
... even if we don't yet support bitnarrowed fields. See #132
the total size is 8 not 1+4=5.