mirror of
https://github.com/golang/go
synced 2024-11-23 00:30:07 -07:00
fe537dc8d5
R=r DELTA=17 (17 added, 0 deleted, 0 changed) OCL=30417 CL=30422
19 lines
391 B
Go
19 lines
391 B
Go
// $G $D/$F.go
|
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package main
|
|
|
|
// Multi-line string literal do not allow newline chars according to spec
|
|
// but 6g accepts this code with the newlines interpreted as newlines.
|
|
|
|
const s = `
|
|
Hello, World!
|
|
`
|
|
|
|
func main() {
|
|
print(s)
|
|
}
|