blob: 0e5f8f8b0b9c5059f031fdb664377312d6268cb3 (
plain) (
tree)
|
|
object Test {
def main(args: Array[String]): Unit = {
var a = 1 + 2
a = a + 3
a = 4 + 5 // [break] [step: while]
while (a * 8 < 100) { // [step: a += 1]
a += 1 // [step: while] [cont: print]
}
print(a) // [break] [cont]
}
}
|