Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 0c1cecc

Browse files
authored
Test largest valid initial size for table32 and table64 in table.wast (#104)
* Test largest valid initial size for table32 nad table64 in table.wast * Skip instantiation of large tables
1 parent b737b68 commit 0c1cecc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/core/table.wast

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
(module (table 0 1 funcref))
77
(module (table 1 256 funcref))
88
(module (table 0 65536 funcref))
9+
(module definition (table 0xffff_ffff funcref))
910
(module (table 0 0xffff_ffff funcref))
1011

1112
(module (table 1 (ref null func)))
@@ -54,6 +55,7 @@
5455
(module (table i64 0 65536 funcref))
5556
(module (table i64 0 0xffff_ffff funcref))
5657
(module (table i64 0 0x1_0000_0000 funcref))
58+
(module definition (table i64 0xffff_ffff_ffff_ffff funcref))
5759
(module (table i64 0 0xffff_ffff_ffff_ffff funcref))
5860

5961
(module (table i64 0 funcref) (table i64 0 funcref))

0 commit comments

Comments
 (0)