summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lit/downgrade-reftypes.wast14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lit/downgrade-reftypes.wast b/test/lit/downgrade-reftypes.wast
index 94343933f..5bc9af653 100644
--- a/test/lit/downgrade-reftypes.wast
+++ b/test/lit/downgrade-reftypes.wast
@@ -33,6 +33,13 @@
;; CHECK-NEXT: )
;; CHECK-NEXT: )
;; CHECK-NEXT: )
+ ;; CHECK-NEXT: (drop
+ ;; CHECK-NEXT: (block $label$4 (result stringref)
+ ;; CHECK-NEXT: (br $label$4
+ ;; CHECK-NEXT: (string.const "hello world")
+ ;; CHECK-NEXT: )
+ ;; CHECK-NEXT: )
+ ;; CHECK-NEXT: )
;; CHECK-NEXT: )
(func $foo (type $f)
(drop
@@ -57,5 +64,12 @@
)
)
)
+ (drop
+ (block $l4 (result (ref string))
+ (br $l4
+ (string.const "hello world")
+ )
+ )
+ )
)
)