summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug047.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
committerRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
commit518ebed3d37d9e2ca3092b9fef3e8b7f338dff8e (patch)
tree028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /test/fixedbugs/bug047.go
parentdab379ca0d53983fc0aa6184a8faf409fa0aa297 (diff)
downloadgo-518ebed3d37d9e2ca3092b9fef3e8b7f338dff8e.tar.gz
Automated g4 rollback of changelist 25024,
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
Diffstat (limited to 'test/fixedbugs/bug047.go')
-rw-r--r--test/fixedbugs/bug047.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug047.go b/test/fixedbugs/bug047.go
index 61b4255b0..805647b3d 100644
--- a/test/fixedbugs/bug047.go
+++ b/test/fixedbugs/bug047.go
@@ -14,8 +14,8 @@ func main() {
};
var s string = "hello";
var f float = 0.2;
- t := T(s, f);
+ t := T{s, f};
type M map[int] int;
- m0 := M(7:8);
+ m0 := M{7:8};
}