class A interface T fun foo() { class Test : A(), T }