You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
436 B
18 lines
436 B
(assert_unlinkable
|
|
(component
|
|
(import "undefined-name" (core module))
|
|
)
|
|
"was not found")
|
|
(component $i)
|
|
(component
|
|
(import "i" (instance))
|
|
)
|
|
(assert_unlinkable
|
|
(component (import "i" (core module)))
|
|
"expected module found instance")
|
|
(assert_unlinkable
|
|
(component (import "i" (func)))
|
|
"expected function found instance")
|
|
(assert_unlinkable
|
|
(component (import "i" (instance (export "x" (func)))))
|
|
"was not found")
|
|
|