Debian Codegraph @

tests/snapshots/testsuite/ref_null.wast.json

raw
1 {
2 "source_filename": "tests/testsuite/ref_null.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 1,
7 "filename": "ref_null.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_return",
12 "line": 9,
13 "action": {
14 "type": "invoke",
15 "field": "externref",
16 "args": []
17 },
18 "expected": [
19 {
20 "type": "externref",
21 "value": "null"
22 }
23 ]
24 },
25 {
26 "type": "assert_return",
27 "line": 10,
28 "action": {
29 "type": "invoke",
30 "field": "funcref",
31 "args": []
32 },
33 "expected": [
34 {
35 "type": "funcref",
36 "value": "null"
37 }
38 ]
39 }
40 ]
41 }