summaryrefslogtreecommitdiff
path: root/test/bugs
diff options
context:
space:
mode:
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