// FIR_IDENTICAL // !LANGUAGE: +DefinitelyNonNullableTypes fun foo(x: T, y: T & Any) = x!! fun main() { foo("", "").length foo("", null).length foo(null, "").length foo(null, null).length foo("", "").length foo("", null).length foo(null, "").length }