// |jit-test| skip-if: !wasmReftypesEnabled() // |jit-test| skip-if: !wasmReftypesEnabled() let instance = wasmEvalText(` (func $twoRefs (result externref externref) (ref.null extern) (ref.null extern)) (func $fourRefs (export "run") (result externref externref externref externref externref externref) call $twoRefs call $twoRefs call $twoRefs) `); assertDeepEq(instance.exports.run(), [null, null, null, null, null, null])