github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/compile/ssa/testdata/sayhi.go (about)

     1  package foo
     2  
     3  import (
     4  	"fmt"
     5  	"sync"
     6  )
     7  
     8  func sayhi(n int, wg *sync.WaitGroup) {
     9  	fmt.Println("hi", n)
    10  	fmt.Println("hi", n)
    11  	wg.Done()
    12  }