Remove tests on -Xuse-ir compiler flag

This flag is going to be removed because old backend is not supported
anymore, therefore there's no need to test it.
This commit is contained in:
Alexander Udalov
2023-05-19 16:54:29 +02:00
committed by Space Team
parent 22096cec3c
commit bb4bb58453
61 changed files with 24 additions and 429 deletions
@@ -0,0 +1,9 @@
package a
enum class E { ENTRY }
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val e: E)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno2(val e: Array<E>)
@@ -0,0 +1,11 @@
package b
import a.*
@Anno(E.ENTRY)
@Anno2(arrayOf(E.ENTRY))
open class B {
@Anno(E.ENTRY)
@Anno2(arrayOf(E.ENTRY))
fun <@Anno(E.ENTRY) @Anno2(arrayOf(E.ENTRY)) T> foo(t: T) = t
}
@@ -1,7 +0,0 @@
package test
enum class E { ENTRY }
annotation class Anno(val e: E)
@Anno(E.ENTRY) open class Class
@@ -1,14 +0,0 @@
package test
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ e: test.E)
public final val e: test.E
}
@test.Anno(e = E.ENTRY) public open class Class {
public constructor Class()
}
public final class Subclass : test.Class {
public constructor Subclass()
}
@@ -0,0 +1,7 @@
package c
import b.B
class C : B() {
fun bar() = foo("")
}