diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-11 00:33:51 -0700 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-12 11:18:23 +0100 |
| commit | 91508e10abe4ab82e4f7a4dcdfac178ebd9e52d3 (patch) | |
| tree | 305e11d6d354dc6c96a94deff9b040b9b348054b /test/behavior | |
| parent | 38236533f1d031d31c6d10cbe7d0f8c59a9e3520 (diff) | |
| download | zig-91508e10abe4ab82e4f7a4dcdfac178ebd9e52d3.tar.gz zig-91508e10abe4ab82e4f7a4dcdfac178ebd9e52d3.zip | |
LLVM backend: handle unnamed structs when lowering array values
LLVM doesn't support lowering union values, so we have to use unnamed
structs to do it, which means any type that contains a union as an
element, even if it is nested in another type, has to have a mechanism
to detect when it can't be lowered normally and has to resort itself to
an unnamed struct.
This includes arrays.
Diffstat (limited to 'test/behavior')
0 files changed, 0 insertions, 0 deletions
