diff options
Diffstat (limited to 'test/anyref.wast.fromBinary.noDebugInfo')
-rw-r--r-- | test/anyref.wast.fromBinary.noDebugInfo | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/anyref.wast.fromBinary.noDebugInfo b/test/anyref.wast.fromBinary.noDebugInfo new file mode 100644 index 000000000..d397cd3f9 --- /dev/null +++ b/test/anyref.wast.fromBinary.noDebugInfo @@ -0,0 +1,20 @@ +(module + (type $0 (func (param anyref) (result anyref))) + (import "env" "test2" (global $gimport$1 anyref)) + (import "env" "test1" (func $fimport$0 (param anyref) (result anyref))) + (memory $0 1 1) + (export "test1" (func $fimport$0)) + (export "test2" (global $gimport$1)) + (func $0 (; 1 ;) (type $0) (param $0 anyref) (result anyref) + (local $1 anyref) + (local.set $1 + (call $fimport$0 + (local.get $0) + ) + ) + (return + (local.get $1) + ) + ) +) + |