Move reporting of interpreter's backend errors tests to fir module

This commit is contained in:
Ivan Kylchik
2021-12-14 23:31:46 +03:00
parent 44cf64a00c
commit 0f0b48f87b
8 changed files with 101 additions and 20 deletions
@@ -1,11 +0,0 @@
// !RENDER_DIAGNOSTICS_FULL_TEXT
// TARGET_BACKEND: JVM_IR
// !DIAGNOSTICS: -CONST_VAL_WITH_NON_CONST_INITIALIZER, -DIVISION_BY_ZERO
// WITH_STDLIB
const val divideByZero = <!EXCEPTION_IN_CONST_VAL_INITIALIZER!>1 / 0<!>
const val trimMarginException = "123".<!EXCEPTION_IN_CONST_VAL_INITIALIZER!>trimMargin(" ")<!>
//annotation class A(<!EXCEPTION_IN_CONST_VAL_INITIALIZER!>val i: Int<!>, val b: Int)
//@A(1 / 0, 2)
//fun foo() {}
@@ -1,4 +0,0 @@
package
public const val divideByZero: kotlin.Int
public const val trimMarginException: kotlin.String