mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
12 lines
248 B
Kotlin
12 lines
248 B
Kotlin
// !DIAGNOSTICS: -UNUSED_EXPRESSION
|
|
trait 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<!>
|
|
} |