blob: 27ee0520311ba6f05ce631b4e8c70c6e5abf7cf0 [file]
// RUN_PIPELINE_TILL: FRONTEND
// CHECK_TYPE
// FILE: A.java
public enum A {
ENTRY,
ANOTHER;
}
// FILE: test.kt
fun main() {
checkSubtype<Array<A>>(A.values())
}
/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, functionalType, infix,
javaFunction, javaType, nullableType, typeParameter, typeWithExtension */