diff --git a/test/bugs/bug106.dir/bug0.go b/test/bugs/bug106.dir/bug0.go new file mode 100644 index 0000000000..2dfe157cfd --- /dev/null +++ b/test/bugs/bug106.dir/bug0.go @@ -0,0 +1,6 @@ +// Copyright 2009 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. + +package bug0 +export const A = -1 diff --git a/test/bugs/bug106.dir/bug1.go b/test/bugs/bug106.dir/bug1.go new file mode 100644 index 0000000000..663a26dd25 --- /dev/null +++ b/test/bugs/bug106.dir/bug1.go @@ -0,0 +1,7 @@ +// Copyright 2009 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. + +package bug1 +import "bug0" + diff --git a/test/bugs/bug106.go b/test/bugs/bug106.go new file mode 100644 index 0000000000..1874b20449 --- /dev/null +++ b/test/bugs/bug106.go @@ -0,0 +1,7 @@ +// $G $D/$F.dir/bug0.go && $G $D/$F.dir/bug1.go || echo BUG: failed to compile + +// Copyright 2009 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. + +ignored