Russ Cox | 9a861b6 | 2009-05-08 16:40:55 -0700 | [diff] [blame] | 1 | // errchk $G -e $D/$F.go |
| 2 | |
| 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. |
| 6 | |
| 7 | // check for import conflicts |
| 8 | |
| 9 | package main |
| 10 | |
Ian Lance Taylor | 60f27f0 | 2010-02-01 16:35:23 -0800 | [diff] [blame] | 11 | import "bufio" // GCCGO_ERROR "previous|not used" |
Russ Cox | 38df5ec | 2009-08-19 15:18:08 -0700 | [diff] [blame] | 12 | import bufio "os" // ERROR "redeclared|redefinition|incompatible" |
| 13 | |
Russ Cox | 9a861b6 | 2009-05-08 16:40:55 -0700 | [diff] [blame] | 14 | import ( |
Rob Pike | 4f61fc9 | 2010-09-04 10:36:13 +1000 | [diff] [blame] | 15 | "fmt" // GCCGO_ERROR "previous|not used" |
| 16 | fmt "math" // ERROR "redeclared|redefinition|incompatible" |
Robert Griesemer | 60d4e30 | 2009-12-10 11:25:54 -0800 | [diff] [blame] | 17 | ) |