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
@@ -1,10 +0,0 @@
package a
import kotlin.reflect.KClass
interface A {
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val value: String)
}
annotation class K(val klass: KClass<*>)
@@ -1,10 +0,0 @@
package b
import a.*
@A.Anno("B")
interface B {
@A.Anno("foo")
@K(A.Anno::class)
fun <@A.Anno("T") T> foo(t: T) = t
}
@@ -1,8 +0,0 @@
package c
import b.B
// There should be _no_ error despite the fact that B and B#foo are annotated with an annotation which cannot be resolved
fun bar(b: B) {
b.foo("")
}
@@ -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()
}