// RUN_PIPELINE_TILL: FRONTEND
// DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE
// LANGUAGE: -JavaTypeParameterDefaultRepresentationWithDNN
// LATEST_LV_DIFFERENCE

interface Foo

fun test() {
    var nullable: Foo? = null
    val foo: Collection<Foo> = java.util.Collections.singleton(nullable)
    val foo1: Collection<Foo> = java.util.Collections.singleton(nullable!!)
}

/* GENERATED_FIR_TAGS: checkNotNullCall, flexibleType, functionDeclaration, interfaceDeclaration, javaFunction,
localProperty, nullableType, propertyDeclaration */
