diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-02-21 00:56:47 +0100 |
|---|---|---|
| committer | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-02-21 23:05:16 +0100 |
| commit | 25f73224f7f9921633e67d4b5ef12c6ec10406eb (patch) | |
| tree | ecdaa6426a045247fa17e591edb7af7700be147d /test/behavior/basic.zig | |
| parent | 2ba1ef165aa3fb5da40d05fed9a120630b2529d2 (diff) | |
| download | zig-25f73224f7f9921633e67d4b5ef12c6ec10406eb.tar.gz zig-25f73224f7f9921633e67d4b5ef12c6ec10406eb.zip | |
stage2 AArch64: pass a few more behavior tests
Diffstat (limited to 'test/behavior/basic.zig')
| -rw-r--r-- | test/behavior/basic.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index 873e41827f..d5081ca636 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -610,7 +610,7 @@ test "comptime cast fn to ptr" { } test "equality compare fn ptrs" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage1) return error.SkipZigTest; var a = &emptyFn; @@ -618,7 +618,7 @@ test "equality compare fn ptrs" { } test "self reference through fn ptr field" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage1) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; |
