diff options
Diffstat (limited to 'src/internal/types/testdata/fixedbugs/issue43109.go')
-rw-r--r-- | src/internal/types/testdata/fixedbugs/issue43109.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/types/testdata/fixedbugs/issue43109.go b/src/internal/types/testdata/fixedbugs/issue43109.go new file mode 100644 index 0000000..f242f16 --- /dev/null +++ b/src/internal/types/testdata/fixedbugs/issue43109.go @@ -0,0 +1,10 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Ensure there is no "imported and not used" error +// if a package wasn't imported in the first place. + +package p + +import . "/foo" // ERROR could not import \/foo |