blob: af07f4dfbd87c9c68cba2fc436b99e159c210fa5 [file]
// 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 */