mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-28 05:21:04 +00:00
11 lines
307 B
Plaintext
11 lines
307 B
Plaintext
;; We assert that we can call a function that traps repeatedly
|
|
|
|
(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")
|