aboutsummaryrefslogtreecommitdiff
path: root/refactor/eg/testdata/A2.golden
blob: 5c2384b7a4d533ceabc865a49e6a55b1b15d4aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +build ignore

package A2

// This refactoring causes addition of "errors" import.
// TODO(adonovan): fix: it should also remove "fmt".

import (
	myfmt "fmt"
	"errors"
)

func example(n int) {
	errors.New("")
}