blob: f22994f71fcaf5247c483af3e274d29d640bc4f3 [file] [log] [blame]
[short] skip
[!cgo] skip
[GOOS:solaris] skip "skipping on Solaris; see golang.org/issue/13247"
[GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"
go build -o $WORK/exe1$GOEXE cgotest
go build -x -o $WORK/exe2$GOEXE cgotest
# TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
-- go.mod --
module cgotest
go 1.16
-- m.go --
package cgotest
import "C"
var _ C.int