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

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

View as plain text