| // RUN_PIPELINE_TILL: FRONTEND | |
| // ALLOW_KOTLIN_PACKAGE | |
| // DIAGNOSTICS: -UNUSED_VARIABLE | |
| package kotlin.jvm | |
| annotation class JvmInline | |
| @JvmInline | |
| value class Foo(val x: Int) | |
| <!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit<!> var a: Foo | |
| fun foo() { | |
| <!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit<!> var b: Foo | |
| } | |
| /* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, functionDeclaration, lateinit, localProperty, | |
| primaryConstructor, propertyDeclaration, value */ |