{ "source_filename": "tests/testsuite/proposals/wasm-3.0/data_drop0.wast", "commands": [ { "type": "module", "line": 2, "filename": "data_drop0.0.wasm", "module_type": "binary" }, { "type": "action", "line": 18, "action": { "type": "invoke", "field": "init_passive", "args": [ { "type": "i32", "value": "1" } ] } }, { "type": "action", "line": 19, "action": { "type": "invoke", "field": "drop_passive", "args": [] } }, { "type": "action", "line": 20, "action": { "type": "invoke", "field": "drop_passive", "args": [] } }, { "type": "assert_return", "line": 21, "action": { "type": "invoke", "field": "init_passive", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [] }, { "type": "assert_trap", "line": 22, "action": { "type": "invoke", "field": "init_passive", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" }, { "type": "action", "line": 23, "action": { "type": "invoke", "field": "init_passive", "args": [ { "type": "i32", "value": "0" } ] } }, { "type": "action", "line": 24, "action": { "type": "invoke", "field": "drop_active", "args": [] } }, { "type": "assert_return", "line": 25, "action": { "type": "invoke", "field": "init_active", "args": [ { "type": "i32", "value": "0" } ] }, "expected": [] }, { "type": "assert_trap", "line": 26, "action": { "type": "invoke", "field": "init_active", "args": [ { "type": "i32", "value": "1" } ] }, "text": "out of bounds memory access" }, { "type": "action", "line": 27, "action": { "type": "invoke", "field": "init_active", "args": [ { "type": "i32", "value": "0" } ] } } ] }