blob: ea84d9aa0bf8dd41a602b83f2da5c7175bebeafb [file]
// RUN_PIPELINE_TILL: FRONTEND
// LANGUAGE: +InlineClasses
// DIAGNOSTICS: -UNUSED_VARIABLE, -INLINE_CLASS_DEPRECATED
inline class Foo(val x: Int)
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit<!> var a: Foo
fun foo() {
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit<!> var b: Foo
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, lateinit, localProperty, primaryConstructor,
propertyDeclaration */