tests/cli/component-model/wrong-order.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 | |
| 3 | (assert_malformed |
| 4 | (module binary |
| 5 | "\00asm\01\00\00\00" |
| 6 | |
| 7 | "\01\01\00" ;; type section, 1 byte, 0 entries |
| 8 | "\0b\01\00" ;; data section, 1 byte, 0 entries |
| 9 | "\01\01\00" ;; type section, 1 byte, 0 entries |
| 10 | ) |
| 11 | "section out of order") |