Skip to content

Commit d9a2882

Browse files
committed
expand throw_ref fold test
1 parent fd81e1a commit d9a2882

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/roundtrip/fold-unreachable.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
(func
3232
ref.null exn
3333
throw_ref
34+
drop
3435
))
3536
(;; STDOUT ;;;
3637
(module
@@ -57,6 +58,7 @@
5758
(return
5859
(i32.const 0))))
5960
(func (;4;) (type 1)
60-
(throw_ref
61-
(ref.null exn))))
61+
(drop
62+
(throw_ref
63+
(ref.null exn)))))
6264
;;; STDOUT ;;)

0 commit comments

Comments
 (0)