mirror of
https://github.com/golang/go
synced 2024-09-24 21:20:13 -06:00
fix build
TBR=austin OCL=32496 CL=32496
This commit is contained in:
parent
98607d01fc
commit
3a23da657d
@ -10,13 +10,6 @@ func main() {
|
||||
L: ; // ';' terminates empty statement => L does not apply to for loop
|
||||
for i := 0; i < 10; i++ {
|
||||
println(i);
|
||||
break L; // ERROR "L"
|
||||
}
|
||||
|
||||
L1: { // L1 labels block => L1 does not apply to for loop
|
||||
for i := 0; i < 10; i++ {
|
||||
println(i);
|
||||
break L1; // ERROR "L1"
|
||||
}
|
||||
break L // L does not apply to for loop
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user