Debian Codegraph @

tests/cli/unreachable-valid.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots %
2
3 (module
4 (func (export "f")
5 f32.const 1.0
6 f32.const 2.0
7 br 0
8 i32.add
9 drop
10 )
11 )
12
13 (assert_trap (invoke "f") "unreachable")