Debian Codegraph @

tests/cli/dump/component-linking.wat

raw
1 ;; RUN: dump %
2
3 (component
4 (import "a" (instance $i
5 (export "a" (core module))
6 (export "b" (func))
7 (export "c" (value string))
8 (export "d" (instance))
9 (export "e" (component))
10 ))
11
12 (component $c
13 (import "a" (core module))
14 (import "b" (func))
15 (import "c" (value string))
16 (import "d" (instance))
17 (import "e" (component))
18 )
19
20 (instance (instantiate $c
21 (with "a" (core module $i "a"))
22 (with "b" (func $i "b"))
23 (with "c" (value $i "c"))
24 (with "d" (instance $i "d"))
25 (with "e" (component $i "e"))
26 ))
27 )