mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
15 lines
244 B
Go
15 lines
244 B
Go
package main
|
|
|
|
func main() {
|
|
L: ; // ';' terminates empty statement => L does not apply to for loop
|
|
L1: { // L1 labels block => L1 does not apply to for loop
|
|
for i := 0; i < 10; i++ {
|
|
println(i);
|
|
break L1; // comment
|
|
}
|
|
}
|
|
{
|
|
insert:
|
|
}
|
|
}
|