10 fn2 := func() string { return "" }
11 fmt.Printf(fn2()) // want `should use print-style function`
12 _ = fmt.Sprintf(fn2()) // want `should use print-style function`
13 log.Printf(fn2()) // want `should use print-style function`
14 fmt.Printf(s) // want `should use print-style function`
16 fmt.Fprintf(os.Stdout, s) // want `should use print-style function`
17 fmt.Fprintf(os.Stdout, s, "")