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