github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/objdump/testdata/fmthellocgo.go (about)

     1  package main
     2  
     3  import "fmt"
     4  import "C"
     5  
     6  func main() {
     7  	Println("hello, world")
     8  	if flag {
     9  //line fmthello.go:999999
    10  		Println("bad line")
    11  		for {
    12  		}
    13  	}
    14  }
    15  
    16  //go:noinline
    17  func Println(s string) {
    18  	fmt.Println(s)
    19  }
    20  
    21  var flag bool