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:
committed by
Space Team
parent
22096cec3c
commit
bb4bb58453
+9
@@ -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>)
|
||||
+11
@@ -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
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
enum class E { ENTRY }
|
||||
|
||||
annotation class Anno(val e: E)
|
||||
|
||||
@Anno(E.ENTRY) open class Class
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package test
|
||||
|
||||
class Subclass : Class()
|
||||
-14
@@ -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()
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
OK
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package c
|
||||
|
||||
import b.B
|
||||
|
||||
class C : B() {
|
||||
fun bar() = foo("")
|
||||
}
|
||||
Reference in New Issue
Block a user