mirror of
https://github.com/fluencelabs/wasmer
synced 2025-05-30 02:11:20 +00:00
11 lines
306 B
Plaintext
11 lines
306 B
Plaintext
|
;; We assert that we can call a function that traps repitedly
|
||
|
|
||
|
(module
|
||
|
(func (export "throw_trap")
|
||
|
unreachable
|
||
|
))
|
||
|
|
||
|
(assert_trap (invoke "as-call_indirect-last") "unreachable")
|
||
|
(assert_trap (invoke "as-call_indirect-last") "unreachable")
|
||
|
(assert_trap (invoke "as-call_indirect-last") "unreachable")
|