summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue11361.go
blob: 1ef8735a525a40366b4f22809a3f3fe9ac2fe895 (plain)
1
2
3
4
5
6
7
8
9
10
11
// errorcheck

// Copyright 2016 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.

package a

import "fmt"  // GC_ERROR "imported and not used"

const n = fmt // ERROR "fmt without selector|unexpected reference to package|use of package fmt not in selector"