mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
disable tests failing due to LLVM 15 regressions
This commit is contained in:
parent
bf28765a97
commit
3c506c8aaa
@ -1089,6 +1089,12 @@ test "namespace lookup ignores decl causing the lookup" {
|
||||
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
|
||||
|
||||
if (builtin.zig_backend == .stage2_llvm) {
|
||||
// regressed with LLVM 15
|
||||
// https://github.com/ziglang/zig/issues/12681
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
const S = struct {
|
||||
fn Mixin(comptime T: type) type {
|
||||
return struct {
|
||||
|
||||
@ -1868,6 +1868,9 @@ pub fn addCases(cases: *tests.RunTranslatedCContext) void {
|
||||
\\}
|
||||
, "");
|
||||
|
||||
// Regressed with LLVM 15:
|
||||
// https://github.com/ziglang/zig/issues/12682
|
||||
if (false) {
|
||||
// The C standard does not require function pointers to be convertible to any integer type.
|
||||
// However, POSIX requires that function pointers have the same representation as `void *`
|
||||
// so that dlsym() can work
|
||||
@ -1882,3 +1885,4 @@ pub fn addCases(cases: *tests.RunTranslatedCContext) void {
|
||||
\\}
|
||||
, "");
|
||||
}
|
||||
}
|
||||
|
||||
@ -3173,6 +3173,9 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
|
||||
\\}
|
||||
});
|
||||
|
||||
// Regressed with LLVM 15:
|
||||
// https://github.com/ziglang/zig/issues/12682
|
||||
if (false) {
|
||||
if (builtin.zig_backend != .stage1) {
|
||||
cases.add("implicit casts",
|
||||
\\#include <stdbool.h>
|
||||
@ -3227,6 +3230,7 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
|
||||
\\}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (builtin.zig_backend != .stage1) {
|
||||
cases.add("function call",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user