zig/test/behavior
mlugg 1b672e41c5 InternPool,Sema,type,llvm: alignment fixes
This changeset fixes the handling of alignment in several places. The
new rules are:
* `@alignOf(T)` where `T` is a runtime zero-bit type is at least 1,
  maybe greater.
* Zero-bit fields in `extern` structs *do* force alignment, potentially
  offsetting following fields.
* Zero-bit fields *do* have addresses within structs which can be
  observed and are consistent with `@offsetOf`.

These are not necessarily all implemented correctly yet (see disabled
test), but this commit fixes all regressions compared to master, and
makes one new test pass.
2023-09-21 14:48:41 -07:00
..
2023-06-25 14:51:03 -07:00
2023-09-19 09:37:53 -07:00
2023-07-31 03:49:21 -04:00
2023-05-20 17:30:22 +02:00
2023-07-26 19:02:02 -07:00
2023-05-20 17:30:22 +02:00
2023-07-31 01:58:10 -04:00
2023-07-26 22:19:30 -07:00
2023-06-27 19:57:23 -04:00
2022-01-07 00:06:06 -05:00
2023-08-09 05:46:44 -04:00
2023-05-20 18:43:26 +03:30
2023-05-20 17:30:22 +02:00
2023-05-11 20:31:52 +02:00
2023-05-20 17:30:22 +02:00
2023-08-30 16:50:30 -04:00
2023-05-11 20:31:52 +02:00