zig/test
Andrew Kelley 84c2c47fae Sema: implement else capture value
The ZIR instructions `switch_capture_else` and `switch_capture_ref` are
removed because they are not needed. Instead, the prong index is set to
max int for the special prong.

Else prong with error sets is not handled yet.

Adds a new behavior test because there was not a prior on to cover only
the capture value of else on a switch.
2022-01-17 20:45:55 -07:00
..
behavior Sema: implement else capture value 2022-01-17 20:45:55 -07:00
src std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
stage1/c_abi stage1: Add tests for packed structs in C ABI 2022-01-03 21:25:48 +02:00
stage2 stage2: implement signed compare 2022-01-15 19:32:16 +01:00
standalone tests: include global initializers in c++ compiler test 2022-01-14 11:48:38 -07:00
assemble_and_link.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
behavior.zig Sema: implement else capture value 2022-01-17 20:45:55 -07:00
cases.zig stage2: clean up tests 2021-12-15 17:28:48 +01:00
cli.zig Change ArgIterator.next() return type 2021-12-21 11:15:33 -08:00
compare_output.zig Change ArgIterator.next() return type 2021-12-21 11:15:33 -08:00
compile_errors.zig AstGen: fix loop result locations 2021-12-27 15:30:31 -07: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: Handle typedef'ed void return type for functions. 2022-01-11 12:42:23 -05:00
runtime_safety.zig fix unused variable errors in runtime safety test cases 2021-06-23 10:44:46 -07:00
stack_traces.zig overhaul elf csu (c-runtime startup) logic 2021-05-23 15:38:57 -04:00
standalone.zig update glibc start files to 2.34 2021-12-15 14:30:03 -07:00
tests.zig glibc: fix inconsistency of powerpc ABI mapping 2021-12-16 03:01:13 -07:00
translate_c.zig translate-c: improve error messages when expecting specific tokens 2022-01-17 17:16:48 +02:00