53 lines
369 B
Kotlin
Vendored
53 lines
369 B
Kotlin
Vendored
annotation class Ann
|
|
class A {
|
|
init {
|
|
}
|
|
|
|
fun foo1() {
|
|
|
|
}
|
|
|
|
val x: Int = 1
|
|
|
|
init {
|
|
}
|
|
|
|
fun foo2() {
|
|
|
|
}
|
|
|
|
@Ann init {
|
|
}
|
|
|
|
@Ann init {
|
|
}
|
|
|
|
|
|
fun foo3() {
|
|
|
|
}
|
|
|
|
|
|
init {
|
|
}
|
|
|
|
constructor() {
|
|
|
|
}
|
|
|
|
|
|
/* abcde */init {
|
|
|
|
}
|
|
|
|
fun foo4() {
|
|
|
|
}
|
|
|
|
val a3 = foo4() // el
|
|
|
|
/* abc */ init {
|
|
|
|
}
|
|
}
|