diff options
Diffstat (limited to 'test/metadce/ref-func.wast.dced')
-rw-r--r-- | test/metadce/ref-func.wast.dced | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/metadce/ref-func.wast.dced b/test/metadce/ref-func.wast.dced new file mode 100644 index 000000000..3117c4978 --- /dev/null +++ b/test/metadce/ref-func.wast.dced @@ -0,0 +1,13 @@ +(module + (type $none_=>_none (func)) + (type $none_=>_funcref (func (result funcref))) + (import "env" "f2" (func $f2 (type $none_=>_none))) + (import "env" "f1" (func $f1 (type $none_=>_none))) + (global $g funcref (ref.func $f1)) + (elem declare func $f2) + (export "g" (global $g)) + (export "f" (func $f)) + (func $f (type $none_=>_funcref) (result funcref) + (ref.func $f2) + ) +) |