Drop all tests that disable features for language version less than 3

This commit is contained in:
Ivan Kylchik
2021-12-27 15:54:18 +03:00
parent 549ea1a3b9
commit 6fc56477bf
151 changed files with 0 additions and 5673 deletions
@@ -1,19 +0,0 @@
// !LANGUAGE: -ArrayLiteralsInAnnotations
annotation class Foo(
val a: IntArray = [],
val b: FloatArray = [1f, 2f],
val c: Array<String> = ["/"]
)
@Foo
fun test1() {}
@Foo(a = [1, 2], c = ["a"])
fun test2() {}
@Foo([1], [3f], ["a"])
fun test3() {}
fun test4() {
[1, 2]
}
@@ -1,19 +0,0 @@
// !LANGUAGE: -ArrayLiteralsInAnnotations
annotation class Foo(
val a: IntArray = <!UNSUPPORTED_FEATURE!>[]<!>,
val b: FloatArray = <!UNSUPPORTED_FEATURE!>[1f, 2f]<!>,
val c: Array<String> = <!UNSUPPORTED_FEATURE!>["/"]<!>
)
@Foo
fun test1() {}
@Foo(a = <!UNSUPPORTED_FEATURE!>[1, 2]<!>, c = <!UNSUPPORTED_FEATURE!>["a"]<!>)
fun test2() {}
@Foo(<!UNSUPPORTED_FEATURE!>[1]<!>, <!UNSUPPORTED_FEATURE!>[3f]<!>, <!UNSUPPORTED_FEATURE!>["a"]<!>)
fun test3() {}
fun test4() {
<!UNSUPPORTED!>[1, 2]<!>
}
@@ -1,16 +0,0 @@
package
@Foo public fun test1(): kotlin.Unit
@Foo(a = {1, 2}, c = {"a"}) public fun test2(): kotlin.Unit
@Foo(a = {1}, b = {3.0.toFloat()}, c = {"a"}) public fun test3(): kotlin.Unit
public fun test4(): kotlin.Unit
public final annotation class Foo : kotlin.Annotation {
public constructor Foo(/*0*/ a: kotlin.IntArray = ..., /*1*/ b: kotlin.FloatArray = ..., /*2*/ c: kotlin.Array<kotlin.String> = ...)
public final val a: kotlin.IntArray
public final val b: kotlin.FloatArray
public final val c: kotlin.Array<kotlin.String>
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}