(table)
| 240 | let {wasm, host} = builder.instantiate({test: {f() {}}}).exports; |
| 241 | |
| 242 | function init(table) { |
| 243 | for (let i = 0; i < 5; ++i) table.set(i, wasm); |
| 244 | for (let i = 15; i < 20; ++i) table.set(i, host); |
| 245 | } |
| 246 | function check(table) { |
| 247 | for (let i = 0; i < 5; ++i) assertSame(wasm, table.get(i)); |
| 248 | for (let i = 6; i < 15; ++i) assertSame(null, table.get(i)); |
no test coverage detected
searching dependent graphs…