Files
cli/vendor/wit-component/tests/components/link-dl-openable/dlopen-lib-foo.wat

16 lines
394 B
Plaintext
Raw Normal View History

(module
(@dylink.0
(mem-info (memory 0 4))
)
(type (func (param i32) (result i32)))
(import "test:test/test" "foo" (func $import_foo (type 0)))
(func $foo (type 0) (param i32) (result i32)
unreachable
)
(global $what i32 i32.const 42)
(export "test:test/test#foo" (func $foo))
(export "bar" (func $foo))
(export "baz" (func $foo))
(export "what" (global $what))
)