package test:resource-borrow-export; interface test { resource thing { constructor(v: u32); } foo: func(v: borrow) -> u32; } world resource-borrow-export { export test; }