diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-03 14:31:36 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-03 14:31:36 +0100 |
| commit | cfceec15e10a30a595dbbb5300acdb2d17e16d75 (patch) | |
| tree | 9aaeba50b3fe5b62c9ac75708519e1d41420ceea /test/behavior | |
| parent | b77757fe393dd8cdea1a2bd63a13939ec9beb706 (diff) | |
| parent | f4e0641450032004b9200a4d5fa754e189a123f3 (diff) | |
| download | zig-cfceec15e10a30a595dbbb5300acdb2d17e16d75.tar.gz zig-cfceec15e10a30a595dbbb5300acdb2d17e16d75.zip | |
Merge branch 'mparadinha-test-1486'
Diffstat (limited to 'test/behavior')
| -rw-r--r-- | test/behavior/bugs/1486.zig | 3 |
1 files changed, 0 insertions, 3 deletions
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); |
