...

Source file src/cmd/objdump/testdata/fmthellocgo.go

Documentation: cmd/objdump/testdata

     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
    22  

View as plain text