| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
;; --enable-gc |
| 4 |
|
| 5 |
(module |
| 6 |
(rec |
| 7 |
(type (func)) |
| 8 |
) |
| 9 |
(rec |
| 10 |
(type (func)) |
| 11 |
(type (func)) |
| 12 |
) |
| 13 |
(rec |
| 14 |
(type (struct)) |
| 15 |
) |
| 16 |
(rec |
| 17 |
(type (struct)) |
| 18 |
(type (struct)) |
| 19 |
) |
| 20 |
(rec |
| 21 |
(type (array i32)) |
| 22 |
) |
| 23 |
(rec |
| 24 |
(type (array i32)) |
| 25 |
(type (array i32)) |
| 26 |
) |
| 27 |
(rec |
| 28 |
(type (func)) |
| 29 |
(type (struct)) |
| 30 |
(type (array i32)) |
| 31 |
) |
| 32 |
|
| 33 |
(rec |
| 34 |
(type $a (sub (func))) |
| 35 |
(type (sub $a (func))) |
| 36 |
) |
| 37 |
(rec |
| 38 |
(type (sub $a (func))) |
| 39 |
) |
| 40 |
(rec |
| 41 |
(type (sub final $a (func))) |
| 42 |
) |
| 43 |
(type (sub $a (func))) |
| 44 |
|
| 45 |
(rec |
| 46 |
(type $t1 (struct (field (ref $t2)))) |
| 47 |
(type $t2 (sub (struct (field (ref $t1))))) |
| 48 |
) |
| 49 |
|
| 50 |
(rec) |
| 51 |
) |