test: add labels and breaks count tests.
This commit is contained in:
@@ -11,6 +11,8 @@ inline fun tenULong() = 10UL
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
// 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 {
|
||||
|
||||
if (tenUInt() != 10U) return "fail 1"
|
||||
|
||||
Reference in New Issue
Block a user