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