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

     1  [!cgo] skip
     2  
     3  # Test that nothing is prepended to $WORK path prefix.
     4  # See issue golang.org/issue/37012.
     5  go build -n
     6  ! stderr '[/\\]\$WORK'
     7  
     8  -- go.mod --
     9  module m
    10  
    11  go 1.16
    12  -- main.go --
    13  package main
    14  
    15  import "C"
    16  
    17  var _ C.int
    18  

View as plain text