IR text tests: Unmute tests with frontend errors

This commit is contained in:
Dmitriy Dolovov
2023-12-13 22:34:39 +01:00
committed by Space Team
parent 194efac68c
commit 22aa9ee65f
6 changed files with 688 additions and 12 deletions
@@ -0,0 +1,28 @@
fun test1() {
error("") /* ErrorExpression */
error("") /* ErrorExpression */
}
fun test2() {
L1@ while (true) { // BLOCK
error("") /* ErrorExpression */
error("") /* ErrorExpression */
}
}
fun test3() {
L1@ while (true) { // BLOCK
val lambda: Function0<Nothing> = local fun <anonymous>(): Nothing {
break@L1
continue@L1
}
}
}
fun test4() {
while (error("") /* ErrorExpression */) { // BLOCK
}
while (error("") /* ErrorExpression */) { // BLOCK
}
}