3 // Copyright 2017 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.
7 // Issue 20298: "imported and not used" error report order was non-deterministic.
8 // This test works by limiting the number of errors (-e=0)
9 // and checking that the errors are all at the beginning.
14 "bufio" // ERROR "imported and not used"
15 "bytes" // ERROR "imported and not used"
16 "crypto/x509" // ERROR "imported and not used"
17 "flag" // ERROR "imported and not used"
18 "fmt" // ERROR "imported and not used"
19 "io" // ERROR "imported and not used"
20 "io/ioutil" // ERROR "imported and not used"
21 "log" // ERROR "imported and not used"
22 "math" // ERROR "imported and not used"
23 "math/big" // ERROR "imported and not used" "too many errors"