blob: c430e1baf796bb1f4be213ddb84c831e218ebce3 [file] [log] [blame]
Matthew Dempsky68e6fa42020-12-31 23:45:36 -08001// run
2
3package main
4
5var sp = ""
6
7func f(name string, _ ...interface{}) int {
8 print(sp, name)
9 sp = " "
10 return 0
11}
12
13var a = f("a", x)
14var b = f("b", y)
15var c = f("c", z)
16var d = func() int {
17 if false {
18 _ = z
19 }
20 return f("d")
21}()
22var e = f("e")
23
24var x int
25var y int = 42
26var z int = func() int { return 42 }()
27
28func main() { println() }