// RUN: component wit % package foo:bar; world foo { import a: interface { use local.{t1}; use a:b/foreign.{t2}; } export a: interface { use local.{t1}; use a:b/foreign.{t2}; } } interface local { type t1 = u32; } package a:b { interface foreign { type t2 = u32; } }