| ... | @@ -29,7 +29,6 @@ comptime { | ... | @@ -29,7 +29,6 @@ comptime { |
| 29 | | 29 | |
| 30 | test "slicing" { | 30 | test "slicing" { |
| 31 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 31 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 32 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 33 | | 32 | |
| 34 | var array: [20]i32 = undefined; | 33 | var array: [20]i32 = undefined; |
| 35 | | 34 | |
| ... | @@ -346,7 +345,6 @@ test "empty array to slice" { | ... | @@ -346,7 +345,6 @@ test "empty array to slice" { |
| 346 | test "@ptrCast slice to pointer" { | 345 | test "@ptrCast slice to pointer" { |
| 347 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 346 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 348 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 347 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 349 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 350 | | 348 | |
| 351 | const S = struct { | 349 | const S = struct { |
| 352 | fn doTheTest() !void { | 350 | fn doTheTest() !void { |
| ... | @@ -572,7 +570,6 @@ test "slice syntax resulting in pointer-to-array" { | ... | @@ -572,7 +570,6 @@ test "slice syntax resulting in pointer-to-array" { |
| 572 | test "slice pointer-to-array null terminated" { | 570 | test "slice pointer-to-array null terminated" { |
| 573 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 571 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 574 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 572 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 575 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 576 | | 573 | |
| 577 | comptime { | 574 | comptime { |
| 578 | var array = [5:0]u8{ 1, 2, 3, 4, 5 }; | 575 | var array = [5:0]u8{ 1, 2, 3, 4, 5 }; |
| ... | @@ -714,7 +711,6 @@ test "slice sentinel access at comptime" { | ... | @@ -714,7 +711,6 @@ test "slice sentinel access at comptime" { |
| 714 | test "slicing array with sentinel as end index" { | 711 | test "slicing array with sentinel as end index" { |
| 715 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 712 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 716 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 713 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 717 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 718 | | 714 | |
| 719 | const S = struct { | 715 | const S = struct { |
| 720 | fn do() !void { | 716 | fn do() !void { |
| ... | @@ -733,7 +729,6 @@ test "slicing array with sentinel as end index" { | ... | @@ -733,7 +729,6 @@ test "slicing array with sentinel as end index" { |
| 733 | test "slicing slice with sentinel as end index" { | 729 | test "slicing slice with sentinel as end index" { |
| 734 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 730 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 735 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 731 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 736 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 737 | | 732 | |
| 738 | const S = struct { | 733 | const S = struct { |
| 739 | fn do() !void { | 734 | fn do() !void { |
| ... | @@ -762,7 +757,6 @@ test "slice len modification at comptime" { | ... | @@ -762,7 +757,6 @@ test "slice len modification at comptime" { |
| 762 | } | 757 | } |
| 763 | | 758 | |
| 764 | test "slice field ptr const" { | 759 | test "slice field ptr const" { |
| 765 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 766 | | 760 | |
| 767 | const const_slice: []const u8 = "string"; | 761 | const const_slice: []const u8 = "string"; |
| 768 | | 762 | |
| ... | @@ -777,7 +771,6 @@ test "slice field ptr const" { | ... | @@ -777,7 +771,6 @@ test "slice field ptr const" { |
| 777 | | 771 | |
| 778 | test "slice field ptr var" { | 772 | test "slice field ptr var" { |
| 779 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 773 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 780 | if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; | | |
| 781 | | 774 | |
| 782 | var var_slice: []const u8 = "string"; | 775 | var var_slice: []const u8 = "string"; |
| 783 | | 776 | |