Sign in
go
/
go
/
refs/heads/master
/
.
/
src
/
cmd
/
go
/
testdata
/
script
/
build_n_cgo.txt
blob: fa01927720b0dc94220c3623bef0ff86ddc299b4 [
file
] [
log
] [
blame
]
[!cgo] skip
# Test that nothing is prepended to $WORK path prefix.
# See issue golang.org/issue/37012.
go build -n
! stderr '[/\\]\$WORK'
stderr '[ =]\$WORK'
-- go.mod --
module m
go 1.16
-- main.go --
package main
import "C"
var _ C.int