129de76288
but not for value classes. Since inline classes and value classes share the same flag, we use presence of the annotation to distinguish them.
18 lines
463 B
Kotlin
Vendored
18 lines
463 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// FIR_IDENTICAL
|
|
|
|
package kotlin.jvm
|
|
|
|
annotation class JvmInline
|
|
|
|
@JvmInline
|
|
value class ConstructorWithDefaultVisibility(val x: Int)
|
|
@JvmInline
|
|
value class PublicConstructor public constructor(val x: Int)
|
|
@JvmInline
|
|
value class InternalConstructor internal constructor(val x: Int)
|
|
@JvmInline
|
|
value class ProtectedConstructor protected constructor(val x: Int)
|
|
@JvmInline
|
|
value class PrivateConstructor private constructor(val x: Int)
|