Tests: move diagnostic test to testsWithJvmBackend

There's a difference in behavior of K1 and K2 here, see KT-66528.

 #KT-66528
This commit is contained in:
Alexander Udalov
2024-03-12 15:09:34 +01:00
committed by Space Team
parent 81a9f5654e
commit c997e9f142
22 changed files with 166 additions and 34 deletions
@@ -55,16 +55,16 @@ class F2 : JOverridesRegular() {
}
}
class <!CONFLICTING_INHERITED_JVM_DECLARATIONS!>F3<!> : JOverridesExtension() {
<!CONFLICTING_INHERITED_JVM_DECLARATIONS!>class F3 : JOverridesExtension() {
fun test() {
a
"".a
}
}
}<!>
class <!CONFLICTING_INHERITED_JVM_DECLARATIONS!>F4<!> : JOVerridesBoth() {
<!CONFLICTING_INHERITED_JVM_DECLARATIONS!>class F4 : JOVerridesBoth() {
fun test() {
a
"".a
}
}
}<!>