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
@@ -6,6 +6,7 @@
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() {}
annotation class A(val i: Int, val b: Int)
@A(<!EXCEPTION_IN_CONST_VAL_INITIALIZER!>1 / 0<!>, 2)
fun foo() {}