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

Commit

Permalink
Test largest valid initial and max size for memory64 in memory64.wast (
Browse files Browse the repository at this point in the history
  • Loading branch information
evicy authored Nov 13, 2024
1 parent 458c969 commit d283b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/core/memory64.wast
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
(module (memory i64 0 1))
(module (memory i64 1 256))
(module (memory i64 0 65536))
(module (memory i64 0x1_0000_0000_0000))
(module (memory i64 0 0x1_0000_0000_0000))

(module (memory i64 (data)) (func (export "memsize") (result i64) (memory.size)))
(assert_return (invoke "memsize") (i64.const 0))
Expand Down

0 comments on commit d283b37

Please sign in to comment.