☰
Debian Codegraph
@
1.26.8-1
1.26.7-1
/
/
src
/
cmd
/
go
/
testdata
/
script
/
mod_gofmt_invalid.txt
☽
☼
src/cmd/go/testdata/script/mod_gofmt_invalid.txt
code
plain
raw
Go
© 2009, 2010, The Go Authors. All rights reserved.
debian/copyright
1
# Test for a crash in go fmt on invalid input when using modules.
2
# Issue 26792.
3
4
env GO111MODULE=on
5
! go fmt x.go
6
! stderr panic
7
8
-- go.mod --
9
module x
10
11
-- x.go --
12
// Missing package declaration.
13
var V int