blob: 7aa77aea42ad3b8bbcd3046845ffcd37a021163e [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'
-- go.mod --
module m
go 1.16
-- main.go --
package main
import "C"
var _ C.int