Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/function/abstractClassConstructors.fir.kt
T
2020-01-23 12:32:39 +03:00

12 lines
211 B
Kotlin
Vendored

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