
The go compiler changed and break statements no longer get compiled to nothing when -N is passed: https://go-review.googlesource.com/#/c/19848/ https://go-review.googlesource.com/#/c/19854/
12 lines
81 B
Go
12 lines
81 B
Go
package main
|
|
|
|
func main() {
|
|
i := 0
|
|
for {
|
|
i++
|
|
if i > 10 {
|
|
break
|
|
}
|
|
}
|
|
}
|