// !DIAGNOSTICS: -UNUSED_VARIABLE package test fun nullableFun(): Int? = null fun Int.foo() {} val test1 = nullableFun()?::foo