Debian Codegraph @

vendor/wit-component/tests/components/link-dl-openable-builtin-libdl-with-unused/dlopen-lib-foo.wat

raw
1 (module
2 (@dylink.0
3 (mem-info (memory 0 4))
4 )
5 (type (func (param i32) (result i32)))
6 (type (func (param i32 i32) (result i32)))
7 (import "test:test/test" "foo" (func $import_foo (type 0)))
8 (import "env" "dlopen" (func $dlopen (type 1)))
9 (func $foo (type 0) (param i32) (result i32)
10 unreachable
11 )
12 (global $what i32 i32.const 42)
13 (global $um i32 i32.const 0)
14 (export "test:test/test#foo" (func $foo))
15 (export "bar" (func $foo))
16 (export "baz" (func $foo))
17 (export "what" (global $what))
18 (export "um" (global $um))
19 )