Skip to content

Commit

Permalink
Test largest valid initial size for table32 and table64 in table.wast (
Browse files Browse the repository at this point in the history
…#104)

* Test largest valid initial size for table32 nad table64 in table.wast

* Skip instantiation of large tables
  • Loading branch information
evicy authored Nov 14, 2024
1 parent b737b68 commit 0c1cecc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/core/table.wast
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
(module (table 0 1 funcref))
(module (table 1 256 funcref))
(module (table 0 65536 funcref))
(module definition (table 0xffff_ffff funcref))
(module (table 0 0xffff_ffff funcref))

(module (table 1 (ref null func)))
Expand Down Expand Up @@ -54,6 +55,7 @@
(module (table i64 0 65536 funcref))
(module (table i64 0 0xffff_ffff funcref))
(module (table i64 0 0x1_0000_0000 funcref))
(module definition (table i64 0xffff_ffff_ffff_ffff funcref))
(module (table i64 0 0xffff_ffff_ffff_ffff funcref))

(module (table i64 0 funcref) (table i64 0 funcref))
Expand Down

0 comments on commit 0c1cecc

Please sign in to comment.