Sign in
go
/
go
/
701f6a27b5c2499c1e84c28a3761eb2f1bf6fd7e
/
.
/
src
/
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