aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bugs
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-04-14 13:07:34 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-15 10:33:08 -0700
commita281d298816b6881e16ebfabb3743526bd8a1577 (patch)
treefb63fc51055da2c477bbb4221e1b29d3a72701a4 /test/behavior/bugs
parent29c8d93b820b5b8cd66d77b3c983f1c665e5884b (diff)
downloadzig-a281d298816b6881e16ebfabb3743526bd8a1577.tar.gz
zig-a281d298816b6881e16ebfabb3743526bd8a1577.zip
disable not-yet-passing C backend tests
Diffstat (limited to 'test/behavior/bugs')
-rw-r--r--test/behavior/bugs/12680.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/bugs/12680.zig b/test/behavior/bugs/12680.zig
index 0f31b66f45..362e03f8a8 100644
--- a/test/behavior/bugs/12680.zig
+++ b/test/behavior/bugs/12680.zig
@@ -11,6 +11,10 @@ test "export a function twice" {
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
+ if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
+ // TODO: test.c: error: aliases are not supported on darwin
+ return error.SkipZigTest;
+ }
// If it exports the function correctly, `test_func` and `testFunc` will points to the same address.
try expectEqual(test_func(), other_file.testFunc());