tests/cli/invalid/oom-84d4e20fc7fecc07ba0a1e3e2426d1f4e72ca8cb.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 | |
| 3 | (assert_malformed |
| 4 | (module binary |
| 5 | "\00\61\73\6d" ;; header |
| 6 | "\01\00\00\00" ;; version |
| 7 | "\04\05\01" ;; table section, 1 count, |
| 8 | "\70\01\02\02" ;; (table 2 2 funcref) |
| 9 | |
| 10 | "\09\08" ;; element section |
| 11 | "\01" ;; 1 count |
| 12 | "\00" ;; no flags |
| 13 | "\41\00" ;; (init) i32.const 0 |
| 14 | "\0b" ;; (init) end |
| 15 | "\ff\ff\ff" ;; cut-off-leb of number-of-items |
| 16 | ) |
| 17 | "unexpected end-of-file") |