Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/function/abstractClassConstructors.fir.kt
T

13 lines
263 B
Kotlin
Vendored

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