File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,11 @@ test "comptime @bitCast packed struct to int and back" {
334
334
if (builtin .zig_backend == .stage2_arm ) return error .SkipZigTest ;
335
335
if (builtin .zig_backend == .stage2_sparc64 ) return error .SkipZigTest ; // TODO
336
336
337
+ if (comptime builtin .zig_backend == .stage2_llvm and builtin .cpu .arch .endian () == .Big ) {
338
+ // https://github.com/ziglang/zig/issues/13782
339
+ return error .SkipZigTest ;
340
+ }
341
+
337
342
const S = packed struct {
338
343
void : void = {},
339
344
uint : u8 = 13 ,
Original file line number Diff line number Diff line change 7
7
if (builtin .zig_backend == .stage2_x86 ) return error .SkipZigTest ; // TODO
8
8
if (builtin .zig_backend == .stage2_aarch64 ) return error .SkipZigTest ; // TODO
9
9
if (builtin .zig_backend == .stage2_arm ) return error .SkipZigTest ; // TODO
10
+
11
+ if (comptime builtin .zig_backend == .stage2_llvm and builtin .cpu .arch .endian () == .Big ) {
12
+ // https://github.com/ziglang/zig/issues/13782
13
+ return error .SkipZigTest ;
14
+ }
15
+
10
16
const a = @Vector (2 , bool ){ true , true };
11
17
const b = @Vector (1 , bool ){true };
12
18
try std .testing .expect (@reduce (.And , a ));
You can’t perform that action at this time.
0 commit comments