Files
kotlin-fork/compiler/testData/debug/localVariables/jvmOverloads.kt
T
Ivan Kylchik eb86aabb50 [FIR LT] Unmute some stepping and local variable tests
Corresponding tests were fixed together with #KT-56982, #KT-56913,
#KT-56926
2023-03-21 16:33:00 +00:00

19 lines
380 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_STDLIB
// FILE: test.kt
class C {
@kotlin.jvm.JvmOverloads fun foo(firstParam: Int, secondParam: String = "") {
}
}
fun box() {
C().foo(4)
}
// EXPECTATIONS JVM JVM_IR
// test.kt:10 box:
// test.kt:4 <init>:
// test.kt:10 box:
// test.kt:6 foo: firstParam:int=4:int, secondParam:java.lang.String="":java.lang.String
// test.kt:11 box: