Debian Codegraph @

js/src/jit-test/tests/wasm/tail-calls/bug1851568.js

raw
1 wasmFailValidateText(`(module
2 (func (result i32 f64)
3 i32.const 1
4 f64.const 2.0
5 )
6 (func (export "f") (result f64)
7 return_call 0
8 )
9 )`, /type mismatch/);
10
11 wasmFailValidateText(`(module
12 (func (result i32 f64)
13 i32.const 1
14 f64.const 2.0
15 )
16 (func (export "f") (result f32 i32 f64)
17 f32.const 3.14
18 return_call 0
19 )
20 )`, /type mismatch/);