// IGNORE_FIR_DIAGNOSTICS
// RUN_PIPELINE_TILL: FIR2IR
// LANGUAGE: +MultiPlatformProjects

// MODULE: common
// FILE: common.kt
expect val <!REDECLARATION!>x1<!>: Int
expect val <!REDECLARATION!>x1<!>: Int

expect val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>x2<!>: Int
val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>x2<!> = 2

expect val x3: Int

// MODULE: jvm()()(common)
// FILE: main.kt
<!AMBIGUOUS_EXPECTS!>actual<!> val x1 = 1

actual val x2 = 2

actual val <!REDECLARATION!>x3<!> = 3
val <!ACTUAL_MISSING, REDECLARATION!>x3<!> = 3

/* GENERATED_FIR_TAGS: actual, expect, integerLiteral, propertyDeclaration */
