package foo:foo; interface shared-items { enum the-enum { a } } world w1 { import foo: interface { use shared-items.{the-enum}; } import bar: interface { use shared-items.{the-enum}; } } world w2 { import foo: interface { use shared-items.{the-enum}; } export bar: interface { use shared-items.{the-enum}; } } world w3 { export bar: interface { use shared-items.{the-enum}; } }