aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-02-25 15:26:24 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-25 21:59:19 +0100
commit1b8ed7842cc09ff687aa7386bf3af8565055a8d1 (patch)
treec439e150d94ca8d9d4263094cb9473a24df0580b /test/behavior/basic.zig
parentbf6540ce50f8613386be09aac7dc03604af12e1e (diff)
downloadzig-1b8ed7842cc09ff687aa7386bf3af8565055a8d1.tar.gz
zig-1b8ed7842cc09ff687aa7386bf3af8565055a8d1.zip
macho: redo selection of segment/section for decls and consts
* fix alignment issues for consts with natural ABI alignment not matching that of the `ldr` instruction in `aarch64` - solved by preceeding the `ldr` with an additional `add` instruction to form the full address before dereferencing the pointer. * redo selection of segment/section for decls and consts based on combined type and value
Diffstat (limited to 'test/behavior/basic.zig')
-rw-r--r--test/behavior/basic.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig
index 304b4a83f7..dd3e85be67 100644
--- a/test/behavior/basic.zig
+++ b/test/behavior/basic.zig
@@ -195,9 +195,6 @@ test "multiline string comments at multiple places" {
}
test "string concatenation" {
- if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64 and builtin.os.tag == .macos) return error.SkipZigTest;
-
try expect(mem.eql(u8, "OK" ++ " IT " ++ "WORKED", "OK IT WORKED"));
}