// RUN_PIPELINE_TILL: FRONTEND
// LANGUAGE: +ValueClasses
// ALLOW_KOTLIN_PACKAGE

package kotlin.jvm

annotation class JvmInline

@JvmInline
value class FileSize(val bytesSize: Long, val x: Int): <!VALUE_CLASS_CANNOT_EXTEND_CLASSES, WRONG_NUMBER_OF_TYPE_ARGUMENTS!>Comparable<!> {
    fun getBytes() = bytesSize
    fun getKB() = getBytes() / 1024
    fun getMB() = getKB() / 1024
    fun getGB() = getMB() / 1024
}

/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, functionDeclaration, integerLiteral,
multiplicativeExpression, primaryConstructor, propertyDeclaration, value */
