env CGO_ENABLED=0

! go install cgotest
stderr 'build constraints exclude all Go files'

-- cgotest/m.go --
package cgotest

import "C"

var _ C.int
