blob: d4b75fe8377561f2df99ea3389290934c78c9b0e [file]
// RUN_PIPELINE_TILL: CODEGEN
// DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -UNUSED_EXPRESSION
interface Bound1
interface Bound2
object First : Bound1, Bound2
object Second : Bound1, Bound2
fun <S : Bound1> select(vararg args: S): S = TODO()
class Cls {
val property = select(First, Second)
}
fun test() {
val v = Cls().property
v
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, interfaceDeclaration, intersectionType, localProperty,
objectDeclaration, propertyDeclaration, typeConstraint, typeParameter, vararg */