Files
kotlin/compiler/testData/diagnostics/tests/callableReference/function/abstractClassConstructors.kt
2015-11-19 18:31:20 +03:00

12 lines
303 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
::<!INVISIBLE_MEMBER!>D<!>
}