summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug059.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug059.go')
-rw-r--r--test/fixedbugs/bug059.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug059.go b/test/fixedbugs/bug059.go
index b190d4f26..6a77367d6 100644
--- a/test/fixedbugs/bug059.go
+++ b/test/fixedbugs/bug059.go
@@ -25,7 +25,7 @@ func main() {
as := new([2]string);
as[0] = "0";
as[1] = "1";
- m["0"] = as;
+ m["0"] = as[0:];
a := m["0"];
a[0] = "x";