// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtNamedFunction class FooBar { fun functionWithTAndAnyValue(otherVal: T & Any) {} }