| ... | @@ -238,7 +238,6 @@ const Sub = struct { b: u8 }; | ... | @@ -238,7 +238,6 @@ const Sub = struct { b: u8 }; |
| 238 | const Str = struct { a: []Sub }; | 238 | const Str = struct { a: []Sub }; |
| 239 | test "set global var array via slice embedded in struct" { | 239 | test "set global var array via slice embedded in struct" { |
| 240 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 240 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 241 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 242 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 241 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 243 | | 242 | |
| 244 | var s = Str{ .a = s_array[0..] }; | 243 | var s = Str{ .a = s_array[0..] }; |
| ... | @@ -254,7 +253,6 @@ test "set global var array via slice embedded in struct" { | ... | @@ -254,7 +253,6 @@ test "set global var array via slice embedded in struct" { |
| 254 | | 253 | |
| 255 | test "read/write through global variable array of struct fields initialized via array mult" { | 254 | test "read/write through global variable array of struct fields initialized via array mult" { |
| 256 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 255 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 257 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 258 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 256 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 259 | | 257 | |
| 260 | const S = struct { | 258 | const S = struct { |
| ... | @@ -275,7 +273,6 @@ test "read/write through global variable array of struct fields initialized via | ... | @@ -275,7 +273,6 @@ test "read/write through global variable array of struct fields initialized via |
| 275 | | 273 | |
| 276 | test "implicit cast single-item pointer" { | 274 | test "implicit cast single-item pointer" { |
| 277 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 275 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 278 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 279 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 276 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 280 | | 277 | |
| 281 | try testImplicitCastSingleItemPtr(); | 278 | try testImplicitCastSingleItemPtr(); |
| ... | @@ -295,7 +292,6 @@ fn testArrayByValAtComptime(b: [2]u8) u8 { | ... | @@ -295,7 +292,6 @@ fn testArrayByValAtComptime(b: [2]u8) u8 { |
| 295 | | 292 | |
| 296 | test "comptime evaluating function that takes array by value" { | 293 | test "comptime evaluating function that takes array by value" { |
| 297 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 294 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 298 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 299 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 295 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 300 | | 296 | |
| 301 | const arr = [_]u8{ 1, 2 }; | 297 | const arr = [_]u8{ 1, 2 }; |
| ... | @@ -307,7 +303,6 @@ test "comptime evaluating function that takes array by value" { | ... | @@ -307,7 +303,6 @@ test "comptime evaluating function that takes array by value" { |
| 307 | | 303 | |
| 308 | test "runtime initialize array elem and then implicit cast to slice" { | 304 | test "runtime initialize array elem and then implicit cast to slice" { |
| 309 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 305 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 310 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 311 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 306 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 312 | | 307 | |
| 313 | var two: i32 = 2; | 308 | var two: i32 = 2; |
| ... | @@ -317,7 +312,6 @@ test "runtime initialize array elem and then implicit cast to slice" { | ... | @@ -317,7 +312,6 @@ test "runtime initialize array elem and then implicit cast to slice" { |
| 317 | | 312 | |
| 318 | test "array literal as argument to function" { | 313 | test "array literal as argument to function" { |
| 319 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 314 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 320 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 321 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 315 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 322 | | 316 | |
| 323 | const S = struct { | 317 | const S = struct { |
| ... | @@ -345,7 +339,6 @@ test "array literal as argument to function" { | ... | @@ -345,7 +339,6 @@ test "array literal as argument to function" { |
| 345 | | 339 | |
| 346 | test "double nested array to const slice cast in array literal" { | 340 | test "double nested array to const slice cast in array literal" { |
| 347 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 341 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 348 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 349 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 342 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 350 | | 343 | |
| 351 | const S = struct { | 344 | const S = struct { |
| ... | @@ -406,7 +399,6 @@ test "double nested array to const slice cast in array literal" { | ... | @@ -406,7 +399,6 @@ test "double nested array to const slice cast in array literal" { |
| 406 | | 399 | |
| 407 | test "anonymous literal in array" { | 400 | test "anonymous literal in array" { |
| 408 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 401 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 409 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 410 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 402 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 411 | | 403 | |
| 412 | const S = struct { | 404 | const S = struct { |
| ... | @@ -431,7 +423,6 @@ test "anonymous literal in array" { | ... | @@ -431,7 +423,6 @@ test "anonymous literal in array" { |
| 431 | | 423 | |
| 432 | test "access the null element of a null terminated array" { | 424 | test "access the null element of a null terminated array" { |
| 433 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 425 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 434 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 435 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 426 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 436 | | 427 | |
| 437 | const S = struct { | 428 | const S = struct { |
| ... | @@ -448,7 +439,6 @@ test "access the null element of a null terminated array" { | ... | @@ -448,7 +439,6 @@ test "access the null element of a null terminated array" { |
| 448 | | 439 | |
| 449 | test "type deduction for array subscript expression" { | 440 | test "type deduction for array subscript expression" { |
| 450 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; | 441 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; |
| 451 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 452 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 442 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 453 | | 443 | |
| 454 | const S = struct { | 444 | const S = struct { |
| ... | @@ -468,7 +458,6 @@ test "sentinel element count towards the ABI size calculation" { | ... | @@ -468,7 +458,6 @@ test "sentinel element count towards the ABI size calculation" { |
| 468 | if (builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO | 458 | if (builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO |
| 469 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO | 459 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 470 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO | 460 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 471 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO | | |
| 472 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO | 461 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 473 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO | 462 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 474 | | 463 | |