// !DIAGNOSTICS: -UNUSED_VARIABLE // !WITH_NEW_INFERENCE fun nullable(): T? = null fun test() { val value = nullable() ?: nullable() }