aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-01-01 17:48:40 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 17:49:57 -0700
commit2b589783602c5428ecde9dbb3f41a81f85eb0f25 (patch)
tree1243f6c66249ccee39c22f39f7b7144dba9d60b9 /test
parente426ae43aec0e57ddbdde9813365cad0394a0030 (diff)
downloadzig-2b589783602c5428ecde9dbb3f41a81f85eb0f25.tar.gz
zig-2b589783602c5428ecde9dbb3f41a81f85eb0f25.zip
Revert "Merge pull request #17824 from kcbanner/fixup_msvc_fmax"
This reverts commit 7161ed79c4abcaccdd56fe0b4fbd3d93472d41b8, reversing changes made to 3f2a65594e1d3c0a4f4943a4ea522e8405db81e0. Unfortunately, this sat in the PR queue too long and the merge broke the zig1.wasm bootstrap process.
Diffstat (limited to 'test')
-rw-r--r--test/behavior/bugs/12680.zig5
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());
}