| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
(assert_malformed |
| 4 |
(module quote |
| 5 |
"(func)" |
| 6 |
"(func (import \"\" \"\"))") |
| 7 |
"import after function") |
| 8 |
|
| 9 |
(assert_malformed |
| 10 |
(module quote |
| 11 |
"(func)" |
| 12 |
"(elem func)" |
| 13 |
"(func (import \"\" \"\"))") |
| 14 |
"import after function") |