diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-07-16 16:32:49 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-07-23 15:40:11 +0300 |
| commit | ff7ec4efb5a6da565b92bc7b129d03680a4a72bd (patch) | |
| tree | 14006dc9e492015837a97328ccb85ac77f3e27e3 /test/behavior/struct.zig | |
| parent | 55fe34100f8b516480cf530eb58d00ea8b665765 (diff) | |
| download | zig-ff7ec4efb5a6da565b92bc7b129d03680a4a72bd.tar.gz zig-ff7ec4efb5a6da565b92bc7b129d03680a4a72bd.zip | |
Sema: bad union field access safety
Diffstat (limited to 'test/behavior/struct.zig')
| -rw-r--r-- | test/behavior/struct.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig index 22d09a066d..8fac5697ec 100644 --- a/test/behavior/struct.zig +++ b/test/behavior/struct.zig @@ -998,6 +998,9 @@ test "tuple element initialized with fn call" { } test "struct with union field" { + if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO + const Value = struct { ref: u32 = 2, kind: union(enum) { |
