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

Commit 2eaecc1

Browse files
authored
Add spec tests for table maximum >=2^32 (#102)
The table maximum is now a 64-bit values, so test that we actually support values outside the 32-bit range.
1 parent 525a53c commit 2eaecc1

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
@@ -53,6 +53,8 @@
5353
(module (table i64 1 256 funcref))
5454
(module (table i64 0 65536 funcref))
5555
(module (table i64 0 0xffff_ffff funcref))
56+
(module (table i64 0 0x1_0000_0000 funcref))
57+
(module (table i64 0 0xffff_ffff_ffff_ffff funcref))
5658

5759
(module (table i64 0 funcref) (table i64 0 funcref))
5860
(module (table (import "spectest" "table64") i64 0 funcref) (table i64 0 funcref))

0 commit comments

Comments
 (0)