diff options
Diffstat (limited to 'test/tail-call.wast')
-rw-r--r-- | test/tail-call.wast | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/tail-call.wast b/test/tail-call.wast new file mode 100644 index 000000000..ceea1239e --- /dev/null +++ b/test/tail-call.wast @@ -0,0 +1,11 @@ +(module + (type $void (func)) + (table 1 1 funcref) + (elem (i32.const 0) $foo) + (func $foo + (return_call $bar) + ) + (func $bar + (return_call_indirect (type $void) (i32.const 0)) + ) +)
\ No newline at end of file |