1 // $G $D/empty.go && errchk $G $D/$F.go
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
9 // various kinds of imported and not used
12 import "fmt" // ERROR "imported and not used.*fmt"
15 import X
"math" // ERROR "imported and not used.*math"
18 import . "bufio" // ERROR "imported and not used.*bufio"
20 // again, package without anything in it
21 import "./empty" // ERROR "imported and not used.*empty"
22 import Z
"./empty" // ERROR "imported and not used.*empty"
23 import . "./empty" // ERROR "imported and not used.*empty"