Source code

Revision control

Copy as Markdown

Other Tools

// |jit-test| skip-if: !wasmComponentsEnabled()
// Empty core module.
wasmValidateText(`
(component
(core module)
)
`);
// Multiple core modules.
wasmValidateText(`
(component
(core module)
(core module)
)
`);
// Core module with exports of every kind.
wasmValidateText(`
(component
(core module
(func (export "func"))
(table (export "table") 0 0 funcref)
(memory (export "memory") 0 0)
(global (export "global") i32 (i32.const 0))
(tag (export "tag"))
)
)
`);