test: add labels and breaks count tests.
This commit is contained in:
+2
-1
@@ -15,7 +15,8 @@ public inline fun <R> minByTest(f: (Int) -> R): R {
|
||||
val v = f(1)
|
||||
return v
|
||||
}
|
||||
|
||||
// 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 {
|
||||
val result = runTest{minByTest<Int> { it }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user