Files
2024-01-26 15:54:41 +00:00

20 lines
275 B
Kotlin
Vendored

// KIND: STANDALONE_LLDB
// FIR_IDENTICAL
// FILE: main.kt
fun bar(x: Int): Int {
val res = foo(
x * 2,
x + 2
)
return res
}
fun main() {
println(bar(42))
}
// FILE: lib.kt
inline fun foo(x: Int, y: Int): Int {
return x +
y
}