diff options
| author | David Rubin <daviru007@icloud.com> | 2024-04-16 22:44:55 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-05-11 02:17:24 -0700 |
| commit | ffb63a05a3327e64bcf8ec7fd05c6aab8d304480 (patch) | |
| tree | 5284c825f8126f35d756599f524a2f612620ddd4 /test/behavior/pointers.zig | |
| parent | 2fd83d8c0a8dd28c2474b26ead8cb24d6bde0901 (diff) | |
| download | zig-ffb63a05a3327e64bcf8ec7fd05c6aab8d304480.tar.gz zig-ffb63a05a3327e64bcf8ec7fd05c6aab8d304480.zip | |
riscv: finally fix bug + `airAggregateInit`
i just hadn't realized that I placed the `riscv_start` branch in the non-simplified
starts
Diffstat (limited to 'test/behavior/pointers.zig')
| -rw-r--r-- | test/behavior/pointers.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/pointers.zig b/test/behavior/pointers.zig index ffeeca3986..35c32041ff 100644 --- a/test/behavior/pointers.zig +++ b/test/behavior/pointers.zig @@ -640,6 +640,8 @@ test "cast pointers with zero sized elements" { } test "comptime pointer equality through distinct fields with well-defined layout" { + if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; + const A = extern struct { x: u32, z: u16, @@ -664,6 +666,8 @@ test "comptime pointer equality through distinct fields with well-defined layout } test "comptime pointer equality through distinct elements with well-defined layout" { + if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; + const buf: [2]u32 = .{ 123, 456 }; const ptr: *const [2]u32 = &buf; |
