blob: 3ee796c892f22488b59d73283b9d381c68dcb50b [file] [log] [blame]
import * as assert from '../assert.js';
import { instantiate } from "../wabt-wrapper.js";
async function test() {
await instantiate(`
(module
(func $foo (result i32 i32) unreachable)
(func (param i32) (result i32 i32 i32)
(local.get 0)
(loop (param i32) (result i32 i32 i32)
call $foo)
)
)
`);
}
assert.asyncTest(test());