2010-12-07 14:16:01 -07:00
|
|
|
// errchk $G -e $D/$F.dir/[ab].go
|
|
|
|
|
2012-09-23 11:16:14 -06:00
|
|
|
// NOTE: This test is not run by 'run.go' and so not run by all.bash.
|
|
|
|
// To run this test you must use the ./run shell script.
|
|
|
|
|
2010-12-07 14:16:01 -07:00
|
|
|
// Copyright 2010 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.
|
|
|
|
|
|
|
|
// Issue 1284
|
|
|
|
|
|
|
|
package bug313
|
|
|
|
|
|
|
|
/*
|
|
|
|
6g bug313.dir/[ab].go
|
|
|
|
|
|
|
|
Before:
|
|
|
|
bug313.dir/b.go:7: internal compiler error: fault
|
|
|
|
|
|
|
|
Now:
|
|
|
|
bug313.dir/a.go:10: undefined: fmt.DoesNotExist
|
|
|
|
*/
|