| 1 |
{ |
| 2 |
"source_filename": "tests/cli/component-model/gc.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 3, |
| 7 |
"filename": "gc.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "module", |
| 12 |
"line": 14, |
| 13 |
"filename": "gc.1.wasm", |
| 14 |
"module_type": "binary" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"type": "module", |
| 18 |
"line": 16, |
| 19 |
"filename": "gc.2.wasm", |
| 20 |
"module_type": "binary" |
| 21 |
}, |
| 22 |
{ |
| 23 |
"type": "module", |
| 24 |
"line": 27, |
| 25 |
"filename": "gc.3.wasm", |
| 26 |
"module_type": "binary" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "module", |
| 30 |
"line": 29, |
| 31 |
"filename": "gc.4.wasm", |
| 32 |
"module_type": "binary" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"type": "module", |
| 36 |
"line": 43, |
| 37 |
"filename": "gc.5.wasm", |
| 38 |
"module_type": "binary" |
| 39 |
}, |
| 40 |
{ |
| 41 |
"type": "assert_malformed", |
| 42 |
"line": 46, |
| 43 |
"filename": "gc.6.wasm", |
| 44 |
"module_type": "binary", |
| 45 |
"text": "unexpected data at the end of the section" |
| 46 |
}, |
| 47 |
{ |
| 48 |
"type": "assert_malformed", |
| 49 |
"line": 58, |
| 50 |
"filename": "gc.7.wasm", |
| 51 |
"module_type": "binary", |
| 52 |
"text": "invalid leading byte (0x60) for non-final sub type" |
| 53 |
}, |
| 54 |
{ |
| 55 |
"type": "module", |
| 56 |
"line": 69, |
| 57 |
"name": "C", |
| 58 |
"filename": "gc.8.wasm", |
| 59 |
"module_type": "binary" |
| 60 |
}, |
| 61 |
{ |
| 62 |
"type": "assert_malformed", |
| 63 |
"line": 108, |
| 64 |
"filename": "gc.9.wat", |
| 65 |
"module_type": "text", |
| 66 |
"text": "unknown core type: failed to find name `$t1`" |
| 67 |
}, |
| 68 |
{ |
| 69 |
"type": "assert_invalid", |
| 70 |
"line": 115, |
| 71 |
"filename": "gc.10.wasm", |
| 72 |
"module_type": "binary", |
| 73 |
"text": "sub type cannot have a final super type" |
| 74 |
}, |
| 75 |
{ |
| 76 |
"type": "assert_invalid", |
| 77 |
"line": 122, |
| 78 |
"filename": "gc.11.wasm", |
| 79 |
"module_type": "binary", |
| 80 |
"text": "sub type cannot have a final super type" |
| 81 |
}, |
| 82 |
{ |
| 83 |
"type": "module", |
| 84 |
"line": 130, |
| 85 |
"filename": "gc.12.wasm", |
| 86 |
"module_type": "binary" |
| 87 |
} |
| 88 |
] |
| 89 |
} |