Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/arguments/integerOverloads.kt
T
2023-08-28 15:00:04 +00:00

25 lines
384 B
Kotlin
Vendored

// FILE: J.java
public class J {
public static void f(Byte x) {}
public static void f(Integer x) {}
public static void f(Long x) {}
}
// FILE: x.kt
fun f(x: Byte) {}
fun f(x: Int) {}
fun f(x: Long) {}
fun g(x: Byte?) {}
fun g(x: Int?) {}
fun g(x: Long?) {}
fun main() {
J.f(123)
J.f(123123123123)
f(123)
f(123123123123)
g(123)
g(123123123123)
}