aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/build_cgo_consistent_results.txt
blob: 88a24de81478408ea807b1f1846680dc06627602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[short] skip
[!cgo] skip

[solaris] skip "skipping on Solaris; see golang.org/issue/13247"
[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