diff options
Diffstat (limited to 'test/fixedbugs/bug130.go')
-rw-r--r-- | test/fixedbugs/bug130.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/fixedbugs/bug130.go b/test/fixedbugs/bug130.go index aa3f0dd70..3d13cb8ab 100644 --- a/test/fixedbugs/bug130.go +++ b/test/fixedbugs/bug130.go @@ -6,6 +6,8 @@ package main +import "os" + type I interface { send(chan <- int) } type S struct { v int } @@ -16,5 +18,5 @@ func main() { var i I = &s; c := make(chan int); go i.send(c); - sys.Exit(<-c); + os.Exit(<-c); } |