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