| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
(assert_malformed |
| 4 |
(module binary |
| 5 |
|
| 6 |
"\00\61\73\6d" ;; header |
| 7 |
"\01\00\00\00" ;; version |
| 8 |
"\01\02" ;; type section |
| 9 |
"\00" ;; 0 count |
| 10 |
|
| 11 |
;; trailing bytes |
| 12 |
"\00" |
| 13 |
) |
| 14 |
"unexpected data at the end of the section") |