Add more trapping testcases.
This commit is contained in:
9
filetests/trap_bounds.wat
Normal file
9
filetests/trap_bounds.wat
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
(module
|
||||||
|
(memory 1 1)
|
||||||
|
(func $main
|
||||||
|
i32.const 65536
|
||||||
|
i32.const 65536
|
||||||
|
i32.store
|
||||||
|
)
|
||||||
|
(start $main)
|
||||||
|
)
|
||||||
9
filetests/trap_empty_mem.wat
Normal file
9
filetests/trap_empty_mem.wat
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
(module
|
||||||
|
(memory 0 0)
|
||||||
|
(func $main
|
||||||
|
i32.const 0
|
||||||
|
i32.const 0
|
||||||
|
i32.store
|
||||||
|
)
|
||||||
|
(start $main)
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user