| ... | ... | @@ -6,7 +6,6 @@ const expectEqual = testing.expectEqual; |
| 6 | 6 | const expectEqualStrings = std.testing.expectEqualStrings; |
| 7 | 7 | |
| 8 | 8 | test "passing an optional integer as a parameter" { |
| 9 | | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 10 | 9 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 11 | 10 | |
| 12 | 11 | const S = struct { |
| ... | ... | @@ -26,8 +25,6 @@ test "passing an optional integer as a parameter" { |
| 26 | 25 | pub const EmptyStruct = struct {}; |
| 27 | 26 | |
| 28 | 27 | test "optional pointer to size zero struct" { |
| 29 | | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 30 | | |
| 31 | 28 | var e = EmptyStruct{}; |
| 32 | 29 | var o: ?*EmptyStruct = &e; |
| 33 | 30 | try expect(o != null); |
| ... | ... | @@ -142,7 +139,6 @@ fn test_cmp_optional_non_optional() !void { |
| 142 | 139 | } |
| 143 | 140 | |
| 144 | 141 | test "unwrap function call with optional pointer return value" { |
| 145 | | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 146 | 142 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 147 | 143 | |
| 148 | 144 | const S = struct { |
| ... | ... | @@ -163,7 +159,6 @@ test "unwrap function call with optional pointer return value" { |
| 163 | 159 | } |
| 164 | 160 | |
| 165 | 161 | test "nested orelse" { |
| 166 | | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 167 | 162 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 168 | 163 | |
| 169 | 164 | const S = struct { |
| ... | ... | @@ -189,7 +184,6 @@ test "nested orelse" { |
| 189 | 184 | } |
| 190 | 185 | |
| 191 | 186 | test "self-referential struct through a slice of optional" { |
| 192 | | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 193 | 187 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO |
| 194 | 188 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 195 | 189 | |
| ... | ... | @@ -270,7 +264,6 @@ test "0-bit child type coerced to optional return ptr result location" { |
| 270 | 264 | |
| 271 | 265 | test "0-bit child type coerced to optional" { |
| 272 | 266 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 273 | | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 274 | 267 | |
| 275 | 268 | const S = struct { |
| 276 | 269 | fn doTheTest() !void { |