github.com/zxy12/go_duplicate_112_new@v0.0.0-20200807091221-747231827200/src/cmd/go/testdata/script/mod_gofmt_invalid.txt (about) 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