blob: 9843e540d3ffe23fb2c483801e286ab47373ef19 [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUES: KT-87442
tailrec fun countDown(n: Int): Int {
if (n <= 0) return 0
run {
return countDown(n - 1)
}
}
/* GENERATED_FIR_TAGS: additiveExpression, comparisonExpression, functionDeclaration, ifExpression, integerLiteral,
lambdaLiteral, tailrec */