From f4e0641450032004b9200a4d5fa754e189a123f3 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Thu, 3 Feb 2022 14:31:16 +0100 Subject: x64: use freeze/unfreeze api; TODO for PIE --- test/behavior/bugs/1486.zig | 3 --- 1 file changed, 3 deletions(-) (limited to 'test') diff --git a/test/behavior/bugs/1486.zig b/test/behavior/bugs/1486.zig index 53309f5553..8f954a3600 100644 --- a/test/behavior/bugs/1486.zig +++ b/test/behavior/bugs/1486.zig @@ -1,13 +1,10 @@ const std = @import("std"); -const builtin = @import("builtin"); const expect = std.testing.expect; const ptr = &global; var global: usize = 123; test "constant pointer to global variable causes runtime load" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - global = 1234; try expect(&global == ptr); try expect(ptr.* == 1234); -- cgit v1.2.3