interface T { fun foo() fun bar() } class C(t :T) : T by t { } // KT-5103