1
0
mirror of https://github.com/golang/go synced 2024-09-23 15:20:13 -06:00
go/test/helloworld.go

14 lines
321 B
Go
Raw Normal View History

// $G $F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out
2008-06-06 14:28:03 -06:00
// 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.
// Test that we can do page 1 of the C book.
2008-06-06 14:28:03 -06:00
package main
func main() {
print("hello, world\n")
2008-06-06 14:28:03 -06:00
}