Files
kotlin-fork/native/native.tests/testData/klibIr/constructor.kt
T
Johan Bay fafea27283 [klib tool] Add option to print ir
Dumping the IR from a klib is useful for debugging klib compilations.

^KT-58877
2023-07-31 09:45:19 +00:00

8 lines
136 B
Kotlin
Vendored

// FIR_IDENTICAL
package test
class A constructor(val x: Int) {
companion object {
fun create(x: Int): A = A(x * 2)
}
}