mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
24 lines
303 B
Kotlin
Vendored
24 lines
303 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
|
|
// FILE: a.kt
|
|
|
|
inline class IC(val v: Int) {
|
|
fun <T> getT(): T? = null
|
|
}
|
|
|
|
// FILE: UseIC.java
|
|
|
|
public class UseIC {
|
|
private IC ic = null;
|
|
|
|
public static String result() {
|
|
return "OK";
|
|
}
|
|
}
|
|
|
|
// FILE: test.kt
|
|
|
|
fun box(): String {
|
|
return UseIC.result()
|
|
}
|