...

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

Documentation: cmd/go/testdata/script

     1[short] skip
     2[!cgo] skip
     3
     4! go build .
     5stderr '# foo\nfoo.c:'
     6! stderr 'EXTRA string'
     7
     8-- go.mod --
     9module foo
    10
    11go 1.20
    12-- foo.go --
    13package foo
    14
    15import "C"
    16-- foo.c --
    17#include "doesnotexist.h"

View as plain text