| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
;; --enable-gc |
| 4 |
|
| 5 |
(module |
| 6 |
(type (struct)) |
| 7 |
(type (struct (field i32))) |
| 8 |
(type (struct (field (mut i32)))) |
| 9 |
(type (struct (field i32) (field i32))) |
| 10 |
(type (struct (field i32) (field (mut i32)))) |
| 11 |
(type (struct (field (mut i32)) (field (mut i32)))) |
| 12 |
|
| 13 |
(type $a (struct (field f32))) |
| 14 |
(type $b (struct (field f32))) |
| 15 |
|
| 16 |
(type (struct (field $field_a externref))) |
| 17 |
(type (struct (field $field_b externref) (field $field_c funcref))) |
| 18 |
|
| 19 |
(type (struct (field))) |
| 20 |
(type (struct (field i32 i32))) |
| 21 |
(type (struct (field i32 (mut i32)))) |
| 22 |
(type (struct (field (mut i32) i32))) |
| 23 |
(type (struct (field (mut i32) (mut i32)))) |
| 24 |
(type (struct (field $a i32) (field f32 f32 f32))) |
| 25 |
|
| 26 |
(type (struct (field i32) (field (ref null $a)) (field (mut (ref null $b))))) |
| 27 |
(type (struct (field i32 (ref null $a) (mut (ref null $b))))) |
| 28 |
(type (struct (field i32 i64 i8) (field) (field) (field (ref null i31) anyref))) |
| 29 |
) |