summaryrefslogtreecommitdiff
path: root/test/lit/arrays.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/arrays.wast')
-rw-r--r--test/lit/arrays.wast7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/lit/arrays.wast b/test/lit/arrays.wast
index 47338fdf1..4dde528cf 100644
--- a/test/lit/arrays.wast
+++ b/test/lit/arrays.wast
@@ -60,8 +60,7 @@
;; ROUNDTRIP-NEXT: )
;; ROUNDTRIP-NEXT: )
(func $len (param $a (ref array)) (result i32)
- ;; TODO: remove the unused type annotation
- (array.len $byte-array
+ (array.len
(local.get $a)
)
)
@@ -77,7 +76,7 @@
;; ROUNDTRIP-NEXT: )
;; ROUNDTRIP-NEXT: )
(func $impossible-len (param $none nullref) (result i32)
- (array.len $byte-array
+ (array.len
(local.get $none)
)
)
@@ -91,7 +90,7 @@
;; ROUNDTRIP-NEXT: (unreachable)
;; ROUNDTRIP-NEXT: )
(func $unreachable-len (param $a arrayref) (result i32)
- (array.len $byte-array
+ (array.len
(unreachable)
)
)