diff options
Diffstat (limited to 'test/passes/inlining_all-features.wast')
-rw-r--r-- | test/passes/inlining_all-features.wast | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/passes/inlining_all-features.wast b/test/passes/inlining_all-features.wast index 60093cb63..187673b5c 100644 --- a/test/passes/inlining_all-features.wast +++ b/test/passes/inlining_all-features.wast @@ -58,3 +58,16 @@ (call $0) ) ) +;; inline a return_call_ref +(module + (type $none_=>_none (func)) + (export "func_36_invoker" (func $1)) + (func $0 + (return_call_ref + (ref.null (func)) + ) + ) + (func $1 + (call $0) + ) +) |