zig/test
Evan Haas 35c694d614 translate-c: Demote initialization of opaque types
This fixes a segfault in translate-c that would previously occur when
initializing structs with unnamed bitfields, due to a failed assertion in
`transInitListExprRecord`. Unnamed bitfields do not have initializers,
so `transInitListExprRecord` erroneously assumes that `init_count` equals
the number of fields in the record.

Since attempting to initialize an opaque type is a syntax error in Zig,
we can just demote any attempts to initialize them.
2021-05-18 09:04:19 +03:00
..
src tests: Use {s} instead of {} when formatting strings 2021-01-02 17:12:57 -07:00
stage1 stage1: Widen non byte-sized atomic loads/stores 2021-05-14 15:16:24 -04:00
stage2 stage2 ARM: correct spilling in genArmMul as well 2021-05-17 17:18:01 -04:00
standalone update usage of std.testing in behavior and standalone tests 2021-05-08 15:15:30 +03:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
cli.zig update usage of std.testing in behavior and standalone tests 2021-05-08 15:15:30 +03:00
compare_output.zig Reduce use of deprecated IO types 2021-01-07 23:48:58 -08:00
compile_errors.zig update usage of std.testing in behavior and standalone tests 2021-05-08 15:15:30 +03:00
gen_h.zig run zig fmt on src/ and test/ 2020-10-31 12:21:49 +02:00
run_translated_c.zig translate-c: fix typedefs with multiple names 2021-05-10 21:59:42 +03:00
runtime_safety.zig stage1: Require a block after suspend 2021-04-24 10:25:43 +02:00
stack_traces.zig update usage of std.testing in behavior and standalone tests 2021-05-08 15:15:30 +03:00
standalone.zig Add standalone test for interdep C archives 2021-04-13 13:32:59 +02:00
tests.zig Add experimental Darling support for cross testing macOS 2021-05-13 20:31:33 +02:00
translate_c.zig translate-c: Demote initialization of opaque types 2021-05-18 09:04:19 +03:00