aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bugs
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-03-01 22:03:18 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-03-01 22:03:18 +0100
commite8eb9778cccd2f2d23027d9e0d73d7053bf92efe (patch)
treea658c7381f29593222e059ad541d006afd9e310c /test/behavior/bugs
parent543bee0adf2d3b036654fa0983c16ff7023f504c (diff)
downloadzig-e8eb9778cccd2f2d23027d9e0d73d7053bf92efe.tar.gz
zig-e8eb9778cccd2f2d23027d9e0d73d7053bf92efe.zip
codegen: lower field_ptr to memory across linking backends
This requires generating an addend for the target relocation as the field pointer might point at a field inner to the container.
Diffstat (limited to 'test/behavior/bugs')
-rw-r--r--test/behavior/bugs/3046.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/behavior/bugs/3046.zig b/test/behavior/bugs/3046.zig
index dc18256d33..1122ab4fe9 100644
--- a/test/behavior/bugs/3046.zig
+++ b/test/behavior/bugs/3046.zig
@@ -13,7 +13,6 @@ fn couldFail() anyerror!i32 {
var some_struct: SomeStruct = undefined;
test "fixed" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;