Adjust testData to new labels syntax

This commit is contained in:
Denis Zharkov
2015-04-27 14:39:46 +03:00
parent 5977302465
commit 44a55e5bf6
191 changed files with 747 additions and 747 deletions
@@ -6,8 +6,8 @@ package foo
fun testBreak() {
var i = 0
@loop for (j in 1..10) {
if (j == 5) break @loop
loop@ for (j in 1..10) {
if (j == 5) break@loop
i = j
}
@@ -18,8 +18,8 @@ fun testBreak() {
fun testContinue() {
var sum = 0
@loop for (j in 1..5) {
if (j % 2 != 0) continue @loop
loop@ for (j in 1..5) {
if (j % 2 != 0) continue@loop
sum += j
}