test: add labels and breaks count tests.
This commit is contained in:
@@ -11,6 +11,8 @@ internal inline fun repeatAction(times: Int, action: () -> Unit) {
|
||||
}
|
||||
}
|
||||
|
||||
// CHECK_BREAKS_COUNT: function=addToState count=0 TARGET_BACKENDS=JS_IR
|
||||
// CHECK_LABELS_COUNT: function=addToState name=$l$block count=0 TARGET_BACKENDS=JS_IR
|
||||
internal fun addToState(state: State, a: Int, b: Int): Int {
|
||||
inline fun inc(a: Int): Int {
|
||||
return a + 1
|
||||
|
||||
Reference in New Issue
Block a user