| // RUN_PIPELINE_TILL: FRONTEND | |
| // FIR_IDENTICAL | |
| abstract class Abstract | |
| fun <D> create(fn: () -> D): D { | |
| return fn() | |
| } | |
| fun main() { | |
| create(::<!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>Abstract<!>) | |
| } | |
| /* GENERATED_FIR_TAGS: callableReference, classDeclaration, functionDeclaration, functionalType, nullableType, | |
| typeParameter */ |