Files
kotlin-fork/compiler/testData/codegen/script/parameterClosure.kts
T
Ilya Chernikov 5824b9c59c K2 Scripting: add Fir script codegen tests
27 failing tests are muted
2023-07-05 19:46:03 +00:00

10 lines
142 B
Kotlin
Vendored

// IGNORE_BACKEND_K2: JVM_IR
// param: 10
fun addX(y: Int) = java.lang.Integer.parseInt(args[0]) + y
val rv = addX(3)
// expected: rv: 13