// !DIAGNOSTICS: -UNUSED_PARAMETER interface ISample fun elvisSimple(x: K?, y: K): K = y @Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER", "HIDDEN") fun elvisExact(x: K?, y: K): @kotlin.internal.Exact K = y fun materialize(): T? = TODO() fun test(nullableSample: ISample, any: Any) { elvisSimple( nullableSample, materialize() ) elvisSimple( elvisSimple(nullableSample, materialize()), any ) elvisSimple( elvisExact(nullableSample, materialize()), any ) }