[!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
