Debian Codegraph @

tests/cli/gc/br-on-non-null.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots %
2
3 (assert_invalid
4 (module
5 (func
6 block $l (result anyref)
7 ref.null func
8 br_on_non_null $l
9 unreachable
10 end
11 drop
12 )
13 )
14 "expected anyref, found funcref")