Text file src/cmd/go/testdata/script/cgo_g3.txt

     1  [!cgo] skip
     2  
     3  # Test that -g3 works with cgo.
     4  env CGO_CFLAGS=-g3
     5  go build
     6  
     7  -- go.mod --
     8  module cgog3
     9  
    10  go 1.25
    11  -- m.go --
    12  package main
    13  
    14  import "os/user"
    15  
    16  func main() {
    17  	user.Current()
    18  }
    19  

View as plain text