summaryrefslogtreecommitdiff
path: root/test/goprint.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/goprint.go')
-rw-r--r--test/goprint.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/goprint.go b/test/goprint.go
new file mode 100644
index 000000000..c0e34c750
--- /dev/null
+++ b/test/goprint.go
@@ -0,0 +1,14 @@
+// $G $D/$F.go && $L $F.$A && ./$A.out
+
+// Copyright 2011 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
+
+import "time"
+
+func main() {
+ go println(42, true, false, true, 1.5, "world", (chan int)(nil), []int(nil), (map[string]int)(nil), (func())(nil), byte(255))
+ time.Sleep(1e6)
+}