JVM: remove tests on JVM target 1.6
This commit is contained in:
committed by
Space Team
parent
b713dfd7ea
commit
e4e1bcefbd
@@ -1,10 +0,0 @@
|
||||
public final class foo/Kotlin : java/lang/Object {
|
||||
public void <init>()
|
||||
|
||||
<T:Ljava/lang/Object;>(TT;)TT;
|
||||
public final java.lang.Object bar(java.lang.Object p)
|
||||
}
|
||||
|
||||
public abstract interface foo/TypeParameterAnn : java/lang/Object, java/lang/annotation/Annotation {
|
||||
public abstract java.lang.String name()
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
// RENDER_ANNOTATIONS
|
||||
// TARGET_BACKEND: JVM
|
||||
// JVM_TARGET: 1.6
|
||||
package foo
|
||||
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER)
|
||||
annotation class TypeParameterAnn(val name: String)
|
||||
|
||||
class Kotlin {
|
||||
|
||||
fun <@TypeParameterAnn("T") T> bar(p: T): T {
|
||||
return p
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_STDLIB
|
||||
// JVM_TARGET: 1.6
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class A
|
||||
|
||||
fun box(): String {
|
||||
A::class.java.declaredAnnotations.joinToString()
|
||||
ExtensionFunctionType::class.java.declaredAnnotations.joinToString()
|
||||
return "OK"
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
// JVM_TARGET: 1.6
|
||||
|
||||
fun box(): String {
|
||||
true.hashCode()
|
||||
1.toByte().hashCode()
|
||||
1.toChar().hashCode()
|
||||
1.toShort().hashCode()
|
||||
1.hashCode()
|
||||
1L.hashCode()
|
||||
1.0F.hashCode()
|
||||
1.0.hashCode()
|
||||
"".hashCode()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 9 \.hashCode
|
||||
// 9 \.hashCode \(\)I
|
||||
Reference in New Issue
Block a user