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

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

View as plain text