diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-03-25 13:48:11 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-03-25 22:32:15 +0200 |
| commit | 2f326f24dd812281e321ec03aee3a8150201d389 (patch) | |
| tree | 971eef1e3575ac531fcf5d7e8a969a763e4fde7f /test/behavior/switch.zig | |
| parent | 17d214a249e8d28aa01bc89325ba57918d5bb525 (diff) | |
| download | zig-2f326f24dd812281e321ec03aee3a8150201d389.tar.gz zig-2f326f24dd812281e321ec03aee3a8150201d389.zip | |
Sema: implement zirSwitchCapture multi for unions
Diffstat (limited to 'test/behavior/switch.zig')
| -rw-r--r-- | test/behavior/switch.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/behavior/switch.zig b/test/behavior/switch.zig index 9634a4de37..b988f32a38 100644 --- a/test/behavior/switch.zig +++ b/test/behavior/switch.zig @@ -541,7 +541,8 @@ test "switch with null and T peer types and inferred result location type" { } test "switch prongs with cases with identical payload types" { - if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO const Union = union(enum) { A: usize, |
