test: add labels and breaks count tests.
This commit is contained in:
@@ -20,6 +20,9 @@ internal inline fun inline3(a: Int): Int {
|
||||
return i1
|
||||
}
|
||||
|
||||
// CHECK_BREAKS_COUNT: function=squareMultipliedByTwo count=2 TARGET_BACKENDS=JS_IR
|
||||
// CHECK_LABELS_COUNT: function=squareMultipliedByTwo name=$l$block count=1 TARGET_BACKENDS=JS_IR
|
||||
// CHECK_LABELS_COUNT: function=squareMultipliedByTwo name=$l$block_0 count=1 TARGET_BACKENDS=JS_IR
|
||||
internal fun squareMultipliedByTwo(a: Int): Int {
|
||||
return inline3(a)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user