Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
go / opt / go / src / runtime / coverage / testdata / issue56006 / repro.go
Size: Mime:
package main

//go:noinline
func blah(x int) int {
	if x != 0 {
		return x + 42
	}
	return x - 42
}

func main() {
	go infloop()
	println(blah(1) + blah(0))
}

var G int

func infloop() {
	for {
		G += blah(1)
		G += blah(0)
		if G > 10000 {
			G = 0
		}
	}
}