github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/integration_test/spectest/v2/testdata/table.json (about)

     1  {"source_filename": "./table.wast",
     2   "commands": [
     3    {"type": "module", "line": 3, "filename": "table.0.wasm"}, 
     4    {"type": "module", "line": 4, "filename": "table.1.wasm"}, 
     5    {"type": "module", "line": 5, "filename": "table.2.wasm"}, 
     6    {"type": "module", "line": 6, "filename": "table.3.wasm"}, 
     7    {"type": "module", "line": 7, "filename": "table.4.wasm"}, 
     8    {"type": "module", "line": 8, "filename": "table.5.wasm"}, 
     9    {"type": "module", "line": 9, "filename": "table.6.wasm"}, 
    10    {"type": "module", "line": 11, "filename": "table.7.wasm"}, 
    11    {"type": "module", "line": 12, "filename": "table.8.wasm"}, 
    12    {"type": "assert_invalid", "line": 14, "filename": "table.9.wasm", "text": "unknown table", "module_type": "binary"}, 
    13    {"type": "assert_invalid", "line": 15, "filename": "table.10.wasm", "text": "unknown table", "module_type": "binary"}, 
    14    {"type": "assert_invalid", "line": 19, "filename": "table.11.wasm", "text": "size minimum must not be greater than maximum", "module_type": "binary"}, 
    15    {"type": "assert_invalid", "line": 23, "filename": "table.12.wasm", "text": "size minimum must not be greater than maximum", "module_type": "binary"}, 
    16    {"type": "assert_malformed", "line": 28, "filename": "table.13.wat", "text": "i32 constant out of range", "module_type": "text"}, 
    17    {"type": "assert_malformed", "line": 32, "filename": "table.14.wat", "text": "i32 constant out of range", "module_type": "text"}, 
    18    {"type": "assert_malformed", "line": 36, "filename": "table.15.wat", "text": "i32 constant out of range", "module_type": "text"}, 
    19    {"type": "assert_malformed", "line": 43, "filename": "table.16.wat", "text": "duplicate table", "module_type": "text"}, 
    20    {"type": "assert_malformed", "line": 47, "filename": "table.17.wat", "text": "duplicate table", "module_type": "text"}, 
    21    {"type": "assert_malformed", "line": 51, "filename": "table.18.wat", "text": "duplicate table", "module_type": "text"}]}