FIR: use FIR_IDENTICAL instead of FIR_IGNORE for diags with BE tests

This commit is contained in:
Mikhail Glukhikh
2022-10-17 10:52:45 +02:00
committed by Space Team
parent d00af1c932
commit 69c883ecee
116 changed files with 383 additions and 80 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// TARGET_BACKEND: JVM_IR
interface Base1 {
fun getX(): Int
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
interface A {
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// TARGET_BACKEND: JVM_IR
interface T {
fun getX() = 1
@@ -0,0 +1,10 @@
// TARGET_BACKEND: JVM_IR
interface T {
fun getX() = 1
}
interface C : T {
<!ACCIDENTAL_OVERRIDE!>val x: Int<!>
get() = 1
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// TARGET_BACKEND: JVM_IR
interface T {
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// TARGET_BACKEND: JVM_IR
interface T {
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// TARGET_BACKEND: JVM_IR
interface T1 {