Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/kt37530.kt
T
2023-06-07 16:45:28 +00:00

12 lines
178 B
Kotlin
Vendored

// FIR_IDENTICAL
abstract class Abstract
fun <D> create(fn: () -> D): D {
return fn()
}
fun main() {
create(::<!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>Abstract<!>)
}