Tests: remove diagnostic tests which are present elsewhere

- `typeParameterWithTwoBounds.kt` is already present in
  `diagnostics/testsWithJvmBackend/duplicateJvmSignature/erasure/`.
- `clashWithCompanionObjectField.kt` is already present in
  `codegen/box/fieldRename/jvmFieldNoClash1.kt`.
- `jvmFieldAndJavaGetter.kt` is already present in
  `codegen/box/jvmField/noClashWithInheritedJavaMethod.kt`.

In case of two latter tests on JvmField, there's (correctly) no error
reported in JVM IR, which is why those are box tests.
This commit is contained in:
Alexander Udalov
2024-03-12 12:25:42 +01:00
committed by Space Team
parent c62fe0d107
commit 81a9f5654e
14 changed files with 0 additions and 207 deletions
@@ -1,8 +0,0 @@
class A {
@JvmField val clash = 1;
companion object {
val clash = 1;
}
}
@@ -1,8 +0,0 @@
class A {
<!CONFLICTING_JVM_DECLARATIONS!>@JvmField val clash<!> = 1;
companion object {
<!CONFLICTING_JVM_DECLARATIONS!>val clash<!> = 1;
}
}
@@ -1,17 +0,0 @@
package
public final class A {
public constructor A()
@field:kotlin.jvm.JvmField public final val clash: kotlin.Int = 1
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
public companion object Companion {
private constructor Companion()
public final val clash: kotlin.Int = 1
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
}
}