// WITH_RUNTIME interface CD fun D.foo(): D? = null fun test(x: List) { x.mapNotNull(CD::foo) }