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

13 lines
308 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_EXPRESSION
interface A
abstract class B
annotation class C
enum class D
fun main() {
::<!UNRESOLVED_REFERENCE!>A<!>
::<!CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS!>B<!>
::<!CALLABLE_REFERENCE_TO_ANNOTATION_CONSTRUCTOR!>C<!> // KT-3465
::<!UNRESOLVED_REFERENCE!>D<!>
}