mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
15 lines
249 B
Go
15 lines
249 B
Go
package main
|
|
|
|
func main() {
|
|
M: ; // ';' terminates empty statement => M does not apply to for loop
|
|
M1: { // M1 labels block => M1 does not apply to for loop
|
|
for i := 0; i < 10; i++ {
|
|
println(i);
|
|
break M1; // comment
|
|
}
|
|
}
|
|
{
|
|
replacement:
|
|
}
|
|
}
|