test: add labels and breaks count tests.
This commit is contained in:
@@ -26,6 +26,8 @@ inline fun foo() {
|
||||
baz("BBB", 333)
|
||||
}
|
||||
|
||||
// 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 {
|
||||
bar()
|
||||
if (l != "baz(AAA);foo();baz(BBB, 333);") return "fail: $l"
|
||||
|
||||
Reference in New Issue
Block a user