| ... | @@ -171,7 +171,6 @@ test "access a member of tagged union with conflicting enum tag name" { | ... | @@ -171,7 +171,6 @@ test "access a member of tagged union with conflicting enum tag name" { |
| 171 | } | 171 | } |
| 172 | | 172 | |
| 173 | test "constant tagged union with payload" { | 173 | test "constant tagged union with payload" { |
| 174 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 175 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 174 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 176 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 175 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 177 | | 176 | |
| ... | @@ -271,7 +270,6 @@ fn testComparison() !void { | ... | @@ -271,7 +270,6 @@ fn testComparison() !void { |
| 271 | } | 270 | } |
| 272 | | 271 | |
| 273 | test "comparison between union and enum literal" { | 272 | test "comparison between union and enum literal" { |
| 274 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 275 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 273 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 276 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 274 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 277 | | 275 | |
| ... | @@ -343,7 +341,6 @@ pub const PackThis = union(enum) { | ... | @@ -343,7 +341,6 @@ pub const PackThis = union(enum) { |
| 343 | }; | 341 | }; |
| 344 | | 342 | |
| 345 | test "constant packed union" { | 343 | test "constant packed union" { |
| 346 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 347 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 344 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 348 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 345 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 349 | | 346 | |
| ... | @@ -509,7 +506,6 @@ test "update the tag value for zero-sized unions" { | ... | @@ -509,7 +506,6 @@ test "update the tag value for zero-sized unions" { |
| 509 | } | 506 | } |
| 510 | | 507 | |
| 511 | test "union initializer generates padding only if needed" { | 508 | test "union initializer generates padding only if needed" { |
| 512 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 513 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 509 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 514 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 510 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 515 | | 511 | |
| ... | @@ -522,7 +518,6 @@ test "union initializer generates padding only if needed" { | ... | @@ -522,7 +518,6 @@ test "union initializer generates padding only if needed" { |
| 522 | } | 518 | } |
| 523 | | 519 | |
| 524 | test "runtime tag name with single field" { | 520 | test "runtime tag name with single field" { |
| 525 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 526 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 521 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 527 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 522 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 528 | | 523 | |
| ... | @@ -535,7 +530,6 @@ test "runtime tag name with single field" { | ... | @@ -535,7 +530,6 @@ test "runtime tag name with single field" { |
| 535 | } | 530 | } |
| 536 | | 531 | |
| 537 | test "method call on an empty union" { | 532 | test "method call on an empty union" { |
| 538 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 539 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 533 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 540 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 534 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 541 | | 535 | |
| ... | @@ -599,7 +593,6 @@ test "tagged union type" { | ... | @@ -599,7 +593,6 @@ test "tagged union type" { |
| 599 | } | 593 | } |
| 600 | | 594 | |
| 601 | test "tagged union as return value" { | 595 | test "tagged union as return value" { |
| 602 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 603 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 596 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 604 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 597 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 605 | | 598 | |
| ... | @@ -680,7 +673,6 @@ fn testEnumWithSpecifiedAndUnspecifiedTagValues(x: MultipleChoice2) !void { | ... | @@ -680,7 +673,6 @@ fn testEnumWithSpecifiedAndUnspecifiedTagValues(x: MultipleChoice2) !void { |
| 680 | } | 673 | } |
| 681 | | 674 | |
| 682 | test "switch on union with only 1 field" { | 675 | test "switch on union with only 1 field" { |
| 683 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 684 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 676 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 685 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 677 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 686 | | 678 | |
| ... | @@ -710,7 +702,6 @@ const PartialInstWithPayload = union(enum) { | ... | @@ -710,7 +702,6 @@ const PartialInstWithPayload = union(enum) { |
| 710 | }; | 702 | }; |
| 711 | | 703 | |
| 712 | test "union with only 1 field casted to its enum type which has enum value specified" { | 704 | test "union with only 1 field casted to its enum type which has enum value specified" { |
| 713 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; | | |
| 714 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 705 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 715 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 706 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 716 | | 707 | |
| ... | @@ -848,7 +839,6 @@ test "@unionInit stored to a const" { | ... | @@ -848,7 +839,6 @@ test "@unionInit stored to a const" { |
| 848 | } | 839 | } |
| 849 | | 840 | |
| 850 | test "@unionInit can modify a union type" { | 841 | test "@unionInit can modify a union type" { |
| 851 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 852 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 842 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 853 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 843 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 854 | | 844 | |
| ... | @@ -891,7 +881,6 @@ test "@unionInit can modify a pointer value" { | ... | @@ -891,7 +881,6 @@ test "@unionInit can modify a pointer value" { |
| 891 | } | 881 | } |
| 892 | | 882 | |
| 893 | test "union no tag with struct member" { | 883 | test "union no tag with struct member" { |
| 894 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | | |
| 895 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 884 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 896 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 885 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 897 | | 886 | |