Files
kotlin-fork/compiler/testData/ir/interpreter/exceptions/commandsOutException.kt
T
2021-06-07 15:35:12 +03:00

11 lines
407 B
Kotlin
Vendored

@CompileTimeCalculation
fun infinityWhile(): Int {
while (true) {}
return 0
}
const val a = <!WAS_NOT_EVALUATED: `
Exception org.jetbrains.kotlin.ir.interpreter.exceptions.InterpreterTimeOutError: Exceeded execution limit of constexpr expression
at CommandsOutExceptionKt.infinityWhile(commandsOutException.kt:3)
at CommandsOutExceptionKt.<clinit>(commandsOutException.kt:7)`!>infinityWhile()<!>