delve/_fixtures/break.go
aarzilli 49a0a121e0 tests: Add test for #149, fixed TestNextGeneral on tip
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/
2016-02-28 16:44:22 -08:00

12 lines
81 B
Go

package main
func main() {
i := 0
for {
i++
if i > 10 {
break
}
}
}