...

Text file src/cmd/gofmt/testdata/crlf.golden

Documentation: cmd/gofmt/testdata

     1/*
     2Source containing CR/LF line endings.
     3The gofmt'ed output must only have LF
     4line endings.
     5Test case for issue 3961.
     6*/
     7package main
     8
     9func main() {
    10	// line comment
    11	println("hello, world!") // another line comment
    12	println()
    13}

View as plain text