summaryrefslogtreecommitdiff
path: root/test/spec/struct.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/struct.wast')
-rw-r--r--test/spec/struct.wast13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/spec/struct.wast b/test/spec/struct.wast
index 5bc8e2f2e..4d86f6538 100644
--- a/test/spec/struct.wast
+++ b/test/spec/struct.wast
@@ -1,12 +1,15 @@
;; Binding structure
(module
- (type $s0 (struct (field (ref 0) (ref 1) (ref $s0) (ref $s1))))
- (type $s1 (struct (field (ref 0) (ref 1) (ref $s0) (ref $s1))))
-
- (func (param (ref $forward)))
+ (rec
+ (type $s0 (struct (field (ref 0) (ref 1) (ref $s0) (ref $s1))))
+ (type $s1 (struct (field (ref 0) (ref 1) (ref $s0) (ref $s1))))
+ )
- (type $forward (struct))
+ (rec
+ (func (param (ref $forward)))
+ (type $forward (struct))
+ )
)
(assert_invalid