diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-11 16:13:05 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-16 14:13:06 +0100 |
| commit | 78e6f9c44c054b922ed1eaafcc4534edcf2dc9ba (patch) | |
| tree | 78e22b6dff4fc279d5e7ce0061193bb085376b90 /test/behavior/array.zig | |
| parent | c7775a9f628a7fa971e85dec65e1400866ad012c (diff) | |
| download | zig-78e6f9c44c054b922ed1eaafcc4534edcf2dc9ba.tar.gz zig-78e6f9c44c054b922ed1eaafcc4534edcf2dc9ba.zip | |
x64: fix ptr_add
However, still missing is taking into account pointer alignment
when performing arithmetic.
Diffstat (limited to 'test/behavior/array.zig')
| -rw-r--r-- | test/behavior/array.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig index e93f0f3e90..7828963a1c 100644 --- a/test/behavior/array.zig +++ b/test/behavior/array.zig @@ -8,6 +8,7 @@ const expectEqual = testing.expectEqual; test "array to slice" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; const a: u32 align(4) = 3; const b: u32 align(8) = 4; |
