Skip to content

Commit

Permalink
Add spec tests for table maximum >=2^32
Browse files Browse the repository at this point in the history
The table maximum is now a 64-bit values, so test that we actually
support values outside the 32-bit range.
  • Loading branch information
backes committed Nov 12, 2024
1 parent 525a53c commit a749069
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 @@ -53,6 +53,8 @@
(module (table i64 1 256 funcref))
(module (table i64 0 65536 funcref))
(module (table i64 0 0xffff_ffff funcref))
(module (table i64 0 0x1_0000_0000 funcref))
(module (table i64 0 0xffff_ffff_ffff_ffff funcref))

(module (table i64 0 funcref) (table i64 0 funcref))
(module (table (import "spectest" "table64") i64 0 funcref) (table i64 0 funcref))
Expand Down

0 comments on commit a749069

Please sign in to comment.