github.com/epfl-dcsl/gotee@v0.0.0-20200909122901-014b35f5e5e9/src/cmd/compile/internal/ssa/testdata/i22600.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  )
     7  
     8  func test() {
     9  	pwd, err := os.Getwd()
    10  	if err != nil {
    11  		fmt.Println(err)
    12  		os.Exit(1)
    13  	}
    14  	fmt.Println(pwd)
    15  }
    16  
    17  func main() {
    18  	test()
    19  }