| author | |
| committer | |
| log | 75372f12ef1301118eed33e429f7498e76836cb3 |
| tree | 13dfffe3e40acadf065e1ae936c36865130f75ba |
| parent | 1dfdc21c31a027a34213a2e1f27433d4e609d634 |
8 files changed, 2 insertions(+), 20 deletions(-)
test/behavior/bitcast.zig-2| ... | ... | @@ -541,7 +541,6 @@ test "@bitCast of packed struct containing pointer" { |
| 541 | 541 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 542 | 542 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 543 | 543 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO |
| 544 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 545 | 544 | |
| 546 | 545 | const S = struct { |
| 547 | 546 | const A = packed struct { |
| ... | ... | @@ -571,7 +570,6 @@ test "@bitCast of extern struct containing pointer" { |
| 571 | 570 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 572 | 571 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 573 | 572 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO |
| 574 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 575 | 573 | |
| 576 | 574 | const S = struct { |
| 577 | 575 | const A = extern struct { |
test/behavior/comptime_memory.zig-6| ... | ... | @@ -32,8 +32,6 @@ test "type pun signed and unsigned as array pointer" { |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | test "type pun signed and unsigned as offset many pointer" { |
| 35 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 36 | ||
| 37 | 35 | comptime { |
| 38 | 36 | var x: [11]u32 = undefined; |
| 39 | 37 | var y: [*]i32 = @ptrCast(&x[10]); |
| ... | ... | @@ -44,8 +42,6 @@ test "type pun signed and unsigned as offset many pointer" { |
| 44 | 42 | } |
| 45 | 43 | |
| 46 | 44 | test "type pun signed and unsigned as array pointer with pointer arithemtic" { |
| 47 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 48 | ||
| 49 | 45 | comptime { |
| 50 | 46 | var x: [11]u32 = undefined; |
| 51 | 47 | const y = @as([*]i32, @ptrCast(&x[10])) - 10; |
| ... | ... | @@ -293,8 +289,6 @@ test "dance on linker values" { |
| 293 | 289 | } |
| 294 | 290 | |
| 295 | 291 | test "offset array ptr by element size" { |
| 296 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 297 | ||
| 298 | 292 | comptime { |
| 299 | 293 | const VirtualStruct = struct { x: u32 }; |
| 300 | 294 | var arr: [4]VirtualStruct = .{ |
test/behavior/error.zig+1| ... | ... | @@ -1124,6 +1124,7 @@ test "result location initialization of error union with OPV payload" { |
| 1124 | 1124 | |
| 1125 | 1125 | test "return error union with i65" { |
| 1126 | 1126 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; |
| 1127 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 1127 | 1128 | |
| 1128 | 1129 | try expect(try add(1000, 234) == 1234); |
| 1129 | 1130 | } |
test/behavior/packed-union.zig-2| ... | ... | @@ -177,8 +177,6 @@ test "assigning to non-active field at comptime" { |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | test "comptime packed union of pointers" { |
| 180 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 181 | ||
| 182 | 180 | const U = packed union { |
| 183 | 181 | a: *const u32, |
| 184 | 182 | b: *const [1]u32, |
test/behavior/pointers.zig-4| ... | ... | @@ -640,8 +640,6 @@ test "cast pointers with zero sized elements" { |
| 640 | 640 | } |
| 641 | 641 | |
| 642 | 642 | test "comptime pointer equality through distinct fields with well-defined layout" { |
| 643 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 644 | ||
| 645 | 643 | const A = extern struct { |
| 646 | 644 | x: u32, |
| 647 | 645 | z: u16, |
| ... | ... | @@ -666,8 +664,6 @@ test "comptime pointer equality through distinct fields with well-defined layout |
| 666 | 664 | } |
| 667 | 665 | |
| 668 | 666 | test "comptime pointer equality through distinct elements with well-defined layout" { |
| 669 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 670 | ||
| 671 | 667 | const buf: [2]u32 = .{ 123, 456 }; |
| 672 | 668 | |
| 673 | 669 | const ptr: *const [2]u32 = &buf; |
test/behavior/ptrcast.zig-4| ... | ... | @@ -298,8 +298,6 @@ test "comptime @ptrCast with packed struct leaves value unmodified" { |
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | test "@ptrCast restructures comptime-only array" { |
| 301 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 302 | ||
| 303 | 301 | { |
| 304 | 302 | const a3a2: [3][2]comptime_int = .{ |
| 305 | 303 | .{ 1, 2 }, |
| ... | ... | @@ -342,8 +340,6 @@ test "@ptrCast restructures comptime-only array" { |
| 342 | 340 | } |
| 343 | 341 | |
| 344 | 342 | test "@ptrCast restructures sliced comptime-only array" { |
| 345 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 346 | ||
| 347 | 343 | const a3a2: [4][2]comptime_int = .{ |
| 348 | 344 | .{ 1, 2 }, |
| 349 | 345 | .{ 3, 4 }, |
test/behavior/type.zig-2| ... | ... | @@ -763,8 +763,6 @@ test "matching captures causes opaque equivalence" { |
| 763 | 763 | } |
| 764 | 764 | |
| 765 | 765 | test "reify enum where fields refers to part of array" { |
| 766 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 767 | ||
| 768 | 766 | const fields: [3]std.builtin.Type.EnumField = .{ |
| 769 | 767 | .{ .name = "foo", .value = 0 }, |
| 770 | 768 | .{ .name = "bar", .value = 1 }, |
test/behavior/union.zig+1| ... | ... | @@ -2373,6 +2373,7 @@ test "signed enum tag with negative value" { |
| 2373 | 2373 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 2374 | 2374 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 2375 | 2375 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; |
| 2376 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | |
| 2376 | 2377 | |
| 2377 | 2378 | const Enum = enum(i8) { |
| 2378 | 2379 | a = -1, |