summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/ub-san-interp-entry.js
blob: 218977d34ef86208352dc4f82e61b6f82ac163b8 (plain)
1
2
3
4
var { table } = wasmEvalText(`
  (module (func $add) (table (export "table") 10 funcref) (elem (i32.const 0) $add))
`).exports
table.get(0)();