summaryrefslogtreecommitdiff
path: root/test/bugs
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-09 14:58:28 -0500
committerRuss Cox <rsc@golang.org>2011-12-09 14:58:28 -0500
commitd0d0dbc94d0b2d722f1a3d4fc42483fa4c7d379a (patch)
treed4979f61d78c8450a916494ff4e9cb9eae0a8399 /test/bugs
parentb773c80bdc754c51227380947b34eb679ed859dd (diff)
downloadgo-d0d0dbc94d0b2d722f1a3d4fc42483fa4c7d379a.tar.gz
gc: 0 expected bugs
Now that Luuk's qualified exporting code is in, fixing this bug is trivial. R=ken2 CC=golang-dev http://codereview.appspot.com/5479048
Diffstat (limited to 'test/bugs')
-rw-r--r--test/bugs/bug367.dir/main.go12
-rw-r--r--test/bugs/bug367.dir/p.go16
-rw-r--r--test/bugs/bug367.go7
3 files changed, 0 insertions, 35 deletions
diff --git a/test/bugs/bug367.dir/main.go b/test/bugs/bug367.dir/main.go
deleted file mode 100644
index ab5d1702b..000000000
--- a/test/bugs/bug367.dir/main.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package main
-
-import (
- "./p"
-)
-
-type T struct{ *p.S }
-
-func main() {
- var t T
- p.F(t)
-}
diff --git a/test/bugs/bug367.dir/p.go b/test/bugs/bug367.dir/p.go
deleted file mode 100644
index 4e27d4e00..000000000
--- a/test/bugs/bug367.dir/p.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package p
-
-type T struct{ x int }
-type S struct{}
-
-func (p *S) get() T {
- return T{0}
-}
-
-type I interface {
- get() T
-}
-
-func F(i I) {
- _ = i.get()
-}
diff --git a/test/bugs/bug367.go b/test/bugs/bug367.go
deleted file mode 100644
index 073e3b180..000000000
--- a/test/bugs/bug367.go
+++ /dev/null
@@ -1,7 +0,0 @@
-// $G $D/$F.dir/p.go && $G $D/$F.dir/main.go && $L main.$A && ./$A.out || echo BUG: should not fail
-
-// Copyright 2011 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