package foo:bar; interface foo4 { resource y; record r { y: borrow } f: func(a: list); } world x { export foo4; }