summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug130.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug130.go')
-rw-r--r--test/fixedbugs/bug130.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/fixedbugs/bug130.go b/test/fixedbugs/bug130.go
deleted file mode 100644
index 855c7072b..000000000
--- a/test/fixedbugs/bug130.go
+++ /dev/null
@@ -1,22 +0,0 @@
-// $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG: should run
-
-// 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 main
-
-import "os"
-
-type I interface { send(chan <- int) }
-
-type S struct { v int }
-func (p *S) send(c chan <- int) { c <- p.v }
-
-func main() {
- s := S{0};
- var i I = &s;
- c := make(chan int);
- go i.send(c);
- os.Exit(<-c);
-}