// RUN: component embed --dummy --wat % | component wit package foo:root; package test:foo1 { interface bar { baz: func(s: string) -> string; } } package test:foo2 { interface bar { baz: func(s: string) -> string; } } world hello { import test:foo1/bar; export test:foo2/bar; }