(module (type $v (func)) (import "external" "foo" (func $external/foo)) (import "foo" "bar" (func $external/foo.bar)) (import "external" "bar" (func $external/two)) (import "foo" "baz" (func $external/three)) (memory $0 0) (export "foo" (func $external/foo)) (export "foo.bar" (func $external/foo.bar)) (export "two" (func $external/two)) (export "three" (func $external/three)) (export "memory" (memory $0)) )