github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/playground/heap.go (about)

     1  // +build OMIT
     2  
     3  package main
     4  
     5  type list struct {
     6  	buf  [100000]byte
     7  	next *list
     8  }
     9  
    10  func main() {
    11  	var l *list
    12  	for {
    13  		l = &list{next: l}
    14  	}
    15  }