| author | |
| committer | |
| log | 0b857eebeb9e348370ab88797743eeed9fdffbe6 |
| tree | c09bc0a16949b6e6a223f7e1b4655204192901e6 |
| parent | dbe787a98404ff3d4b02e3807995cdffd25d3d96 |
The self-hosted wasm backend doesn't properly support very large integers yet.2 files changed, 4 insertions(+), 0 deletions(-)
test/behavior/switch.zig+2| ... | @@ -1459,6 +1459,8 @@ test "switch on nested packed containers" { | ... | @@ -1459,6 +1459,8 @@ test "switch on nested packed containers" { |
| 1459 | } | 1459 | } |
| 1460 | 1460 | ||
| 1461 | test "switch on large types" { | 1461 | test "switch on large types" { |
| 1462 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; | ||
| 1463 | |||
| 1462 | const S = struct { | 1464 | const S = struct { |
| 1463 | fn doTheTest(a: u128, b: i500) !void { | 1465 | fn doTheTest(a: u128, b: i500) !void { |
| 1464 | switch (a) { | 1466 | switch (a) { |
test/behavior/switch_loop.zig+2| ... | @@ -566,6 +566,8 @@ test "switch loop with packed unions with OPV" { | ... | @@ -566,6 +566,8 @@ test "switch loop with packed unions with OPV" { |
| 566 | } | 566 | } |
| 567 | 567 | ||
| 568 | test "switch loop on large types" { | 568 | test "switch loop on large types" { |
| 569 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; | ||
| 570 | |||
| 569 | const S = struct { | 571 | const S = struct { |
| 570 | fn doTheTest(a: u128, b: i500) !void { | 572 | fn doTheTest(a: u128, b: i500) !void { |
| 571 | label: switch (a) { | 573 | label: switch (a) { |