@@ -0,0 +1,15 @@
+package chan_test
+
+import "testing"
+func TestClose(t *testing.T) {
+ ch := make(chan int)
+ close(ch)
+ <-ch
+ println("ok")
+}