mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
12 lines
228 B
Kotlin
Vendored
12 lines
228 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND: JVM_IR
|
|
|
|
inline class Foo(val x: Int) {
|
|
companion object {
|
|
fun funInCompanion() {}
|
|
|
|
private const val constValInCompanion = 1
|
|
}
|
|
|
|
fun inInlineClass() {}
|
|
} |