diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-08-05 16:49:06 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-08-05 22:13:57 +0300 |
| commit | eec2978fac240f6852873bdd9a3ae03b77df6199 (patch) | |
| tree | 8a646d9184fff44217ae8de775341a0b497a92cb /test/behavior | |
| parent | 18440cb239755c983f672b4902147c12e819e029 (diff) | |
| download | zig-eec2978fac240f6852873bdd9a3ae03b77df6199.tar.gz zig-eec2978fac240f6852873bdd9a3ae03b77df6199.zip | |
Sema: better safety check on switch on corrupt value
Diffstat (limited to 'test/behavior')
| -rw-r--r-- | test/behavior/switch.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/switch.zig b/test/behavior/switch.zig index 4e86bcadeb..d218fb6bc6 100644 --- a/test/behavior/switch.zig +++ b/test/behavior/switch.zig @@ -531,6 +531,7 @@ 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 == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO const Union = union(enum) { A: usize, |
