diff options
Diffstat (limited to 'test/wasm2js/unreachable-insts.wast')
-rw-r--r-- | test/wasm2js/unreachable-insts.wast | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/wasm2js/unreachable-insts.wast b/test/wasm2js/unreachable-insts.wast new file mode 100644 index 000000000..1e3d31439 --- /dev/null +++ b/test/wasm2js/unreachable-insts.wast @@ -0,0 +1,13 @@ +(module + (type $0 (func (param f64 f64 f32))) + (memory $0 1 1) + (func $0 (; 0 ;) (type $0) (param $0 f64) (param $1 f64) (param $2 f32) + (f64.store offset=22 align=1 + (block $label$1 (result i32) + (unreachable) + ) + (f64.const 1) + ) + ) +) + |