Fix codegen test classLiteralWithExpectedType.kt on Android

Similar to changes in d022bb0248, this test started to fail because
`AnnotationTarget.TYPE` is mapped to `ElementType.TYPE_USE` if JVM
target is >= 1.8. In codegen tests on Android, we're running the
emulator of version 19 which is less than 26, where `TYPE_USE` has first
appeared.
This commit is contained in:
Alexander Udalov
2021-02-01 15:52:14 +01:00
parent bd3bc13e75
commit 8172ae5d89
@@ -1,6 +1,8 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
// JVM_TARGET: 1.6
package test
import kotlin.reflect.KClass
@@ -23,4 +25,4 @@ fun box(): String {
)
return "OK"
}
}