mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
12 lines
303 B
Kotlin
Vendored
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<!>
|
|
} |