Source file test/fixedbugs/issue43444.go
1 // run 2 3 package main 4 5 var sp = "" 6 7 func f(name string, _ ...interface{}) int { 8 print(sp, name) 9 sp = " " 10 return 0 11 } 12 13 var a = f("a", x) 14 var b = f("b", y) 15 var c = f("c", z) 16 var d = func() int { 17 if false { 18 _ = z 19 } 20 return f("d") 21 }() 22 var e = f("e") 23 24 var x int 25 var y int = 42 26 var z int = func() int { return 42 }() 27 28 func main() { println() } 29