2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / go.test / test / goprint.go
blobcdaccf4f796144aa1099539042edc80301eb3eae
1 // cmpout
3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Test that println can be the target of a go statement.
9 package main
11 import "time"
13 func main() {
14 go println(42, true, false, true, 1.5, "world", (chan int)(nil), []int(nil), (map[string]int)(nil), (func())(nil), byte(255))
15 time.Sleep(100*time.Millisecond)