aboutsummaryrefslogtreecommitdiff
path: root/refactor/eg/testdata/A2.golden
blob: b6e3a6d7aec28d873511ed6e506708b434a81d47 (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 (
	"errors"
	myfmt "fmt"
)

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