Files
Dmitriy Dolovov af247c3344 IR text tests: Unmute tests that have main function
Don't use `main` function in these tests, because `main` function
has specific mangling rules in JVM. Use other function name.

^KT-57755
2023-12-19 14:24:16 +00:00

12 lines
169 B
Kotlin
Vendored

fun <R : Number> Number.convert(): R {
return TODO()
}
fun foo(arg: Number) {
}
fun runMe(args: Array<String>) {
val x: Int = 0
foo(arg = x.convert<Number>())
}