We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f713000 commit 4c10619Copy full SHA for 4c10619
test/core/gc/array_new_data.wast
@@ -17,6 +17,9 @@
17
;; Out-of-bounds data segment accesses.
18
(assert_trap (invoke "array-new-data" (i32.const 0) (i32.const 5)) "out of bounds memory access")
19
(assert_trap (invoke "array-new-data" (i32.const 5) (i32.const 0)) "out of bounds memory access")
20
+(assert_trap (invoke "array-new-data" (i32.const 1) (i32.const 4)) "out of bounds memory access")
21
+(assert_trap (invoke "array-new-data" (i32.const 4) (i32.const 1)) "out of bounds memory access")
22
+
23
24
(module
25
(type $arr (array (mut i8)))
0 commit comments