diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-11-23 20:50:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-23 20:50:16 +0800 |
| commit | ae4fdf1445e6808a5268dd6590858a4713d62085 (patch) | |
| tree | 685db4f3248586d83d65f1862efa7e7acfd5dd47 /compiler/rustc_codegen_llvm/src | |
| parent | 75b8f433e38dfed6aa16a42137bf048d8e668d27 (diff) | |
| parent | 8578ccc7add524147a8c524a336b050fb7647087 (diff) | |
| download | rust-ae4fdf1445e6808a5268dd6590858a4713d62085.tar.gz rust-ae4fdf1445e6808a5268dd6590858a4713d62085.zip | |
Rollup merge of #133355 - chorman0773:spec-layout-tests, r=jieyouxu
Add language tests for aggregate types This adds some tests for struct and union types, ensuring that they satisfy the rules for all structs and unions - namely that fields of structs do not overlap, fields are well-aligned, and the size of the entire. The reference annotations used are from https://github.com/rust-lang/reference/pull/1654, though the rules tested here were FCPed in <https://github.com/rust-lang/reference/pull/1152>.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
