Adjust testData to new labels syntax
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
public object TestClass {
|
||||
public fun main(args: Array<String>) {
|
||||
var i = 1
|
||||
@OuterLoop1 @OuterLoop2 while (i < 1000) {
|
||||
OuterLoop1@ OuterLoop2@ while (i < 1000) {
|
||||
var j = 1
|
||||
@InnerLoop while (j < 100) {
|
||||
InnerLoop@ while (j < 100) {
|
||||
if (j == 3) {
|
||||
j *= 3
|
||||
continue@InnerLoop
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@test for (i in 0..max) {
|
||||
test@ for (i in 0..max) {
|
||||
var n = substring.length()
|
||||
var j = i
|
||||
var k = 0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fun foo() {
|
||||
@Loop while (true) {
|
||||
Loop@ while (true) {
|
||||
when (take()) {
|
||||
1 -> continue
|
||||
2 -> {
|
||||
|
||||
Reference in New Issue
Block a user