41 lines
348 B
Kotlin
Vendored
41 lines
348 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 {
|
|
|
|
}
|
|
} |