d91000e39c
... instead of just UNRESOLVED_REFERENCE when something went wrong during resolution. #KT-59401 related
13 lines
307 B
Kotlin
Vendored
13 lines
307 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_REFERENCE!>D<!>
|
|
}
|