c7d7d903cd
Only the WithoutJavac version for now, because the other one ignores javac errors.
14 lines
206 B
Kotlin
Vendored
14 lines
206 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND: JVM_IR
|
|
|
|
package test
|
|
|
|
inline class Z(val value: Int)
|
|
|
|
interface IFoo<T> {
|
|
fun foo(): T
|
|
}
|
|
|
|
open class KFooZ : IFoo<Z> {
|
|
override fun foo(): Z = Z(42)
|
|
} |