1(assert_invalid
2  (component
3    (import "host-return-two" (func $f (result u32)))
4    (export "x" (func $f)))
5  "component export `x` is a reexport of an imported function which is not implemented")
6
7(assert_unlinkable
8  (component
9    (import "host-return-two" (instance))
10  )
11  "expected instance found func")
12
13;; empty instances don't need to be supplied by the host, even recursively
14;; empty instances.
15(component
16  (import "not-provided-by-the-host" (instance))
17  (import "not-provided-by-the-host2" (instance
18    (export "x" (instance))
19  ))
20)
21