test/fixedbugs/bug313.go
raw| 1 | // errorcheckdir |
| 2 | |
| 3 | // Copyright 2010 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 | // Issue 1284 |
| 8 | |
| 9 | package bug313 |
| 10 | |
| 11 | /* |
| 12 | 6g bug313.dir/[ab].go |
| 13 | |
| 14 | Before: |
| 15 | bug313.dir/b.go:7: internal compiler error: fault |
| 16 | |
| 17 | Now: |
| 18 | bug313.dir/a.go:10: undefined: fmt.DoesNotExist |
| 19 | */ |