mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
14 lines
301 B
Kotlin
Vendored
14 lines
301 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND: JVM_IR
|
|
|
|
interface IValue {
|
|
val value: Int
|
|
}
|
|
|
|
inline class TestOverriding(override val value: Int) : IValue
|
|
|
|
inline class TestPublic(val value: Int)
|
|
|
|
inline class TestInternal(internal val value: Int)
|
|
|
|
inline class TestPrivate(private val value: Int) |