Sign in
go
/
gofrontend
/
be0d2cc2df9f98d967c242594838f86362dae2e7
/
.
/
libgo
/
go
/
cmd
/
go
/
testdata
/
script
/
mod_gofmt_invalid.txt
blob: 21edc7dc2f4744230f464f66ae2adcb8a4333035 [
file
] [
log
] [
blame
]
# Test for a crash in go fmt on invalid input when using modules.
# Issue 26792.
env GO111MODULE=on
! go fmt x.go
! stderr panic
-- go.mod --
module x
-- x.go --
// Missing package declaration.
var V int