Files
Alexander Udalov d986e0ee9c Tests: move more diagnostic tests to testsWithJvmBackend
In this commit, tests where backend diagnostics were reported correctly
are being moved.

FirScopeDumpHandler was added to FIR diagnostic tests with JVM backend
to support `SCOPE_DUMP` in `overridesBuiltinNoMagic.kt` and
`charAtAndOverload.kt`.
2024-03-14 12:38:48 +00:00

12 lines
168 B
Kotlin
Vendored

// WITH_STDLIB
open class Base {
fun foo() {}
}
class Derived : Base() {
companion object {
@JvmStatic <!ACCIDENTAL_OVERRIDE!>fun foo() {}<!>
}
}