Files
kotlin-fork/compiler/testData/codegen/box/classes/kt1018.kt
T
2019-11-19 11:00:09 +03:00

14 lines
345 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
public class StockMarketTableModel() {
public fun getColumnCount() : Int {
return COLUMN_TITLES?.size!!
}
companion object {
private val COLUMN_TITLES : Array<Int?> = arrayOfNulls<Int>(10)
}
}
fun box() : String = if(StockMarketTableModel().getColumnCount()==10) "OK" else "fail"