github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/testdata/zeroalloc.go (about) 1 package main 2 3 func main() { 4 p := []byte{} 5 for len(p) >= 1 { 6 p = p[1:] 7 } 8 }