Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/exitProcess.fir.kt
T

15 lines
314 B
Kotlin
Vendored

import java.io.File
import kotlin.system.exitProcess
object Main {
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>private val KOTLIN_HOME: File<!>
init {
val home = System.getProperty("kotlin.home")
if (home == null) {
exitProcess(1)
}
KOTLIN_HOME = File(home)
}
}