summaryrefslogtreecommitdiff
path: root/test/passes/Oz_fuzz-exec_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/Oz_fuzz-exec_all-features.wast')
-rw-r--r--test/passes/Oz_fuzz-exec_all-features.wast10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/passes/Oz_fuzz-exec_all-features.wast b/test/passes/Oz_fuzz-exec_all-features.wast
index 34c9a224a..4092f6b34 100644
--- a/test/passes/Oz_fuzz-exec_all-features.wast
+++ b/test/passes/Oz_fuzz-exec_all-features.wast
@@ -209,7 +209,7 @@
(func $a-void-func
(call $log (i32.const 1337))
)
- (func "$rtt-and-cast-on-func"
+ (func "rtt-and-cast-on-func"
(call $log (i32.const 0))
(drop
(rtt.canon $void_func)
@@ -231,4 +231,12 @@
;; will never be reached
(call $log (i32.const 4))
)
+ (func "array-alloc-failure"
+ (drop
+ (array.new_default_with_rtt $bytes
+ (i32.const -1) ;; un-allocatable size (4GB * sizeof(Literal))
+ (rtt.canon $bytes)
+ )
+ )
+ )
)