Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/callableReference/function/abstractClassConstructors.kt
T
2015-05-12 19:43:17 +02:00

12 lines
252 B
Kotlin

// !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<!>
::C // KT-3465
::<!INVISIBLE_MEMBER!>D<!>
}