diff options
author | Rob Pike <r@golang.org> | 2008-06-06 13:28:03 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-06-06 13:28:03 -0700 |
commit | a680dbdfffda9c49d77447312e6dd000db3592bb (patch) | |
tree | 9fc78195cd6f45b370bba69597b64afd6e0f7bb3 /test/helloworld.go | |
parent | 8b253a1f55765e07b98d1f32e3f6d704fd69f956 (diff) | |
download | go-a680dbdfffda9c49d77447312e6dd000db3592bb.tar.gz |
lots of new tests
SVN=121464
Diffstat (limited to 'test/helloworld.go')
-rw-r--r-- | test/helloworld.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/helloworld.go b/test/helloworld.go new file mode 100644 index 000000000..ae1f264f5 --- /dev/null +++ b/test/helloworld.go @@ -0,0 +1,12 @@ +// $G $F.go && $L $F.$A && ./$A.out + +// 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 + +func main() int { + print "hello, world\n"; + return 0; +} |