1
0
mirror of https://github.com/golang/go synced 2024-11-05 23:36:12 -07:00
go/refactor/eg/testdata/E1.golden
Alan Donovan 4744be3abc refactor/eg: use format.Node not printer.Fprint for canonical output
Fixes golang/go#10038

Change-Id: If3243f0c68fc0442dcc1e2dd71cbdc629beff70c
Reviewed-on: https://go-review.googlesource.com/6481
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2015-03-02 19:38:58 +00:00

14 lines
137 B
Plaintext

// +build ignore
package E1
import (
"fmt"
"log"
"os"
)
func example() {
fmt.Fprintf(os.Stderr, "warning: %v", "oops") // match
}