add code to handle programs which use heap allocations but never hit the GC

This commit is contained in:
Jaden Weiss
2019-11-16 19:37:35 -05:00
committed by Ayke
parent 3cedebd299
commit 81199da3f1
3 changed files with 15 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
package main
func main() {
p := []byte{}
for len(p) >= 1 {
p = p[1:]
}
}