From ee487a9a8b46b42fb593c4908482dbb07369f9d3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 12 Nov 2008 21:59:43 -0800 Subject: This bug has been fixed; moving it from bugs to fixedbugs. R=gri DELTA=36 (18 added, 18 deleted, 0 changed) OCL=19059 CL=19133 --- test/bugs/bug083.dir/bug0.go | 11 ----------- test/bugs/bug083.dir/bug1.go | 9 --------- test/bugs/bug083.go | 7 ------- test/fixedbugs/bug083.dir/bug0.go | 11 +++++++++++ test/fixedbugs/bug083.dir/bug1.go | 9 +++++++++ test/fixedbugs/bug083.go | 7 +++++++ test/golden.out | 6 +++--- 7 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 test/bugs/bug083.dir/bug0.go delete mode 100644 test/bugs/bug083.dir/bug1.go delete mode 100644 test/bugs/bug083.go create mode 100644 test/fixedbugs/bug083.dir/bug0.go create mode 100644 test/fixedbugs/bug083.dir/bug1.go create mode 100644 test/fixedbugs/bug083.go diff --git a/test/bugs/bug083.dir/bug0.go b/test/bugs/bug083.dir/bug0.go deleted file mode 100644 index 3636a7aa3..000000000 --- a/test/bugs/bug083.dir/bug0.go +++ /dev/null @@ -1,11 +0,0 @@ -// 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 - -type T0 struct { -} - -export v0 -var v0 T0 diff --git a/test/bugs/bug083.dir/bug1.go b/test/bugs/bug083.dir/bug1.go deleted file mode 100644 index 32cda73b4..000000000 --- a/test/bugs/bug083.dir/bug1.go +++ /dev/null @@ -1,9 +0,0 @@ -// 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" - -var v1 bug0.T0 diff --git a/test/bugs/bug083.go b/test/bugs/bug083.go deleted file mode 100644 index 984969d47..000000000 --- a/test/bugs/bug083.go +++ /dev/null @@ -1,7 +0,0 @@ -// $G $D/$F.dir/bug0.go && errchk $G $D/$F.dir/bug1.go - -// 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 diff --git a/test/fixedbugs/bug083.dir/bug0.go b/test/fixedbugs/bug083.dir/bug0.go new file mode 100644 index 000000000..3636a7aa3 --- /dev/null +++ b/test/fixedbugs/bug083.dir/bug0.go @@ -0,0 +1,11 @@ +// 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 + +type T0 struct { +} + +export v0 +var v0 T0 diff --git a/test/fixedbugs/bug083.dir/bug1.go b/test/fixedbugs/bug083.dir/bug1.go new file mode 100644 index 000000000..32cda73b4 --- /dev/null +++ b/test/fixedbugs/bug083.dir/bug1.go @@ -0,0 +1,9 @@ +// 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" + +var v1 bug0.T0 diff --git a/test/fixedbugs/bug083.go b/test/fixedbugs/bug083.go new file mode 100644 index 000000000..984969d47 --- /dev/null +++ b/test/fixedbugs/bug083.go @@ -0,0 +1,7 @@ +// $G $D/$F.dir/bug0.go && errchk $G $D/$F.dir/bug1.go + +// 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 diff --git a/test/golden.out b/test/golden.out index 70b5db270..cedf02964 100644 --- a/test/golden.out +++ b/test/golden.out @@ -103,9 +103,6 @@ bugs/bug080.go:12: illegal types for operand: CALL struct { x int; y float } BUG: fails incorrectly -=========== bugs/bug083.go -bugs/bug083.dir/bug1.go:5: syntax error near T0 - =========== bugs/bug085.go bugs/bug085.go:8: P: undefined BUG: fails incorrectly @@ -232,6 +229,9 @@ fixedbugs/bug074.go:7: x: undefined =========== fixedbugs/bug081.go fixedbugs/bug081.go:5: syntax error near x +=========== fixedbugs/bug083.go +fixedbugs/bug083.dir/bug1.go:5: syntax error near T0 + =========== fixedbugs/bug086.go fixedbugs/bug086.go:5: function ends without a return statement -- cgit v1.2.3