mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
7 lines
149 B
Kotlin
Vendored
7 lines
149 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND: JVM_IR
|
|
|
|
inline class Foo(val x: Int) {
|
|
val prop: Int get() = 1
|
|
val asThis: Foo get() = this
|
|
} |