test: add labels and breaks count tests.
This commit is contained in:
@@ -28,6 +28,8 @@ internal fun test3(list: Array<String>): String {
|
||||
return concat(*list)
|
||||
}
|
||||
|
||||
// CHECK_BREAKS_COUNT: function=box count=0 TARGET_BACKENDS=JS_IR
|
||||
// CHECK_LABELS_COUNT: function=box name=$l$block count=0 TARGET_BACKENDS=JS_IR
|
||||
fun box(): String {
|
||||
assertEquals("", test1())
|
||||
assertEquals("abc", test2())
|
||||
|
||||
Reference in New Issue
Block a user