K2: add & fix tests for JVM BE diagnostics

This commit is contained in:
Mikhail Glukhikh
2022-10-14 09:46:22 +02:00
committed by Space Team
parent 185e74fd26
commit 1826d9b332
34 changed files with 972 additions and 188 deletions
@@ -1,3 +1,4 @@
// IGNORE_FIR
// !DIAGNOSTICS: -UNUSED_PARAMETER
class C {
@@ -1,3 +1,4 @@
// IGNORE_FIR
// !DIAGNOSTICS: -UNUSED_PARAMETER
class C {
@@ -1,3 +1,5 @@
// IGNORE_FIR
val x: Int
<!CONFLICTING_JVM_DECLARATIONS!>get()<!> = 1
<!CONFLICTING_JVM_DECLARATIONS!>fun getX()<!> = 1
@@ -1,3 +1,4 @@
// IGNORE_FIR
// TARGET_BACKEND: JVM_IR
interface T {