summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug069.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug069.go')
-rw-r--r--test/fixedbugs/bug069.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug069.go b/test/fixedbugs/bug069.go
index 51e034d65..2e538469b 100644
--- a/test/fixedbugs/bug069.go
+++ b/test/fixedbugs/bug069.go
@@ -13,6 +13,6 @@ func main(){
i, ok = <-c; // works
- ca := new([2]*chan int);
+ ca := new(*[2]chan int);
i, ok = <-(ca[0]); // fails: c.go:11: bad shape across assignment - cr=1 cl=2
}