aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/threadlocal.zig
diff options
context:
space:
mode:
authorjacobly0 <jacobly0@users.noreply.github.com>2023-06-26 02:45:48 -0400
committerGitHub <noreply@github.com>2023-06-26 02:45:48 -0400
commitcc2daae47e4fbb7d68e00211d509dd934d2e14b2 (patch)
treee839501c6d7e37079d0a15a906e6f6dd30a3f4fc /test/behavior/threadlocal.zig
parentdce1999c803dd9d8ceff7fbffa1825af837ee0ed (diff)
parent85902115d4fde6120b6cea610cd6f79baede5aaa (diff)
downloadzig-cc2daae47e4fbb7d68e00211d509dd934d2e14b2.tar.gz
zig-cc2daae47e4fbb7d68e00211d509dd934d2e14b2.zip
Merge pull request #15771 from jacobly0/x86_64-behavior
x86_64: behavior
Diffstat (limited to 'test/behavior/threadlocal.zig')
-rw-r--r--test/behavior/threadlocal.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/behavior/threadlocal.zig b/test/behavior/threadlocal.zig
index 763c87605c..9a6e0542e8 100644
--- a/test/behavior/threadlocal.zig
+++ b/test/behavior/threadlocal.zig
@@ -12,6 +12,11 @@ test "thread local variable" {
}; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_x86_64 and builtin.os.tag == .macos) {
+ // Fails due to register hazards.
+ return error.SkipZigTest;
+ }
+
const S = struct {
threadlocal var t: i32 = 1234;
};