summaryrefslogtreecommitdiff
path: root/test/helloworld.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/helloworld.go')
-rw-r--r--test/helloworld.go12
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;
+}