// RUN_PIPELINE_TILL: BACKEND
// MODULE: m1-common
// FILE: common.kt
expect class Foo {
    // AMBIGUOUS_ACTUALS in K1, green code in K2.
    // Reason: expect-actual matcher doesn't match fields in K2 KT-63667
    val foo: Int
}

// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
actual typealias Foo = JavaFoo

interface I {
    val foo: Int
}

// FILE: JavaFoo.java
public class JavaFoo implements I {
    public final int foo = 1;

    @Override
    public int getFoo() {
        return 0;
    }
}

/* GENERATED_FIR_TAGS: actual, classDeclaration, expect, interfaceDeclaration, javaType, propertyDeclaration,
typeAliasDeclaration */
