package foo:resources1; interface resources1 { t1: func(a: borrow) -> (); t2: func(a: own) -> (); t3: func(a: r1) -> (); resource r1 { f1: func(); } }