diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/behavior/bugs/12680.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/behavior/bugs/12680.zig b/test/behavior/bugs/12680.zig index 883303c4f8..e75cf6ec3b 100644 --- a/test/behavior/bugs/12680.zig +++ b/test/behavior/bugs/12680.zig @@ -12,6 +12,11 @@ test "export a function twice" { if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf) return error.SkipZigTest; + 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()); } |
