bug-1854007.js (425B)
1 // |jit-test| test-also=--setpref=wasm_test_serialization=true 2 3 let {run} = wasmEvalText(`(module 4 (rec (type $$t1 (func (result (ref null $$t1))))) 5 (rec (type $$t2 (func (result (ref null $$t2))))) 6 7 (func $$f1 (type $$t1) (ref.null $$t1)) 8 (func $$f2 (type $$t2) (ref.null $$t2)) 9 (table funcref (elem $$f1 $$f2)) 10 11 (func (export "run") 12 (call_indirect (type $$t2) (i32.const 0)) 13 drop 14 ) 15 )`).exports; 16 run();