...

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

Documentation: cmd/go/testdata/script

     1[!cgo] skip
     2[!race] skip
     3
     4go list -race -deps foo
     5stdout syscall
     6
     7-- go.mod --
     8module foo
     9
    10go 1.16
    11-- foo.go --
    12package foo
    13
    14// #include <stdio.h>
    15import "C"

View as plain text