Text file src/cmd/go/testdata/script/build_cgo_consistent_results.txt

     1  [short] skip
     2  [!cgo] skip
     3  
     4  [solaris] skip "skipping on Solaris; see golang.org/issue/13247"
     5  [illumos] skip "skipping on Solaris; see golang.org/issue/13247"
     6  
     7  go build -o $WORK/exe1$GOEXE cgotest
     8  go build -x -o $WORK/exe2$GOEXE cgotest
     9  
    10  # TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
    11  
    12  cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
    13  
    14  -- go.mod --
    15  module cgotest
    16  
    17  go 1.16
    18  -- m.go --
    19  package cgotest
    20  
    21  import "C"
    22  
    23  var _ C.int
    24  

View as plain text