Files
kotlin-fork/compiler/testData/ir/irText/classes/declarationOrder.kt.txt
T
2024-02-16 10:19:38 +00:00

54 lines
526 B
Kotlin
Vendored

package test
class A {
val b: Int
field = 1
get
val a: Int
field = 2
get
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
constructor(x: Double) {
this/*A*/()
}
constructor(x: Int) {
this/*A*/()
}
constructor(x: String) {
this/*A*/()
}
fun a() {
}
fun String.a() {
}
fun b() {
}
fun String.b() {
}
val Int.a: String
get(): String {
return "a"
}
val Int.b: String
get(): String {
return "b"
}
}