| 1 |
{ |
| 2 |
"source_filename": "tests/testsuite/proposals/wasm-3.0/tag.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 3, |
| 7 |
"filename": "tag.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "register", |
| 12 |
"line": 11, |
| 13 |
"as": "test" |
| 14 |
}, |
| 15 |
{ |
| 16 |
"type": "module", |
| 17 |
"line": 13, |
| 18 |
"filename": "tag.1.wasm", |
| 19 |
"module_type": "binary" |
| 20 |
}, |
| 21 |
{ |
| 22 |
"type": "assert_invalid", |
| 23 |
"line": 19, |
| 24 |
"filename": "tag.2.wasm", |
| 25 |
"module_type": "binary", |
| 26 |
"text": "non-empty tag result type" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "assert_invalid", |
| 30 |
"line": 23, |
| 31 |
"filename": "tag.3.wasm", |
| 32 |
"module_type": "binary", |
| 33 |
"text": "non-empty tag result type" |
| 34 |
}, |
| 35 |
{ |
| 36 |
"type": "module", |
| 37 |
"line": 30, |
| 38 |
"filename": "tag.4.wasm", |
| 39 |
"module_type": "binary" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"type": "register", |
| 43 |
"line": 38, |
| 44 |
"as": "M" |
| 45 |
}, |
| 46 |
{ |
| 47 |
"type": "module", |
| 48 |
"line": 40, |
| 49 |
"filename": "tag.5.wasm", |
| 50 |
"module_type": "binary" |
| 51 |
}, |
| 52 |
{ |
| 53 |
"type": "assert_unlinkable", |
| 54 |
"line": 49, |
| 55 |
"filename": "tag.6.wasm", |
| 56 |
"module_type": "binary", |
| 57 |
"text": "incompatible import" |
| 58 |
}, |
| 59 |
{ |
| 60 |
"type": "assert_unlinkable", |
| 61 |
"line": 60, |
| 62 |
"filename": "tag.7.wasm", |
| 63 |
"module_type": "binary", |
| 64 |
"text": "incompatible import" |
| 65 |
} |
| 66 |
] |
| 67 |
} |