diff --git a/filetests/trap_bounds.wat b/filetests/trap_bounds.wat new file mode 100644 index 0000000000..efdf7957b3 --- /dev/null +++ b/filetests/trap_bounds.wat @@ -0,0 +1,9 @@ +(module + (memory 1 1) + (func $main + i32.const 65536 + i32.const 65536 + i32.store + ) + (start $main) +) diff --git a/filetests/trap_empty_mem.wat b/filetests/trap_empty_mem.wat new file mode 100644 index 0000000000..e56d563bed --- /dev/null +++ b/filetests/trap_empty_mem.wat @@ -0,0 +1,9 @@ +(module + (memory 0 0) + (func $main + i32.const 0 + i32.const 0 + i32.store + ) + (start $main) +)