diff options
author | Russ Cox <rsc@golang.org> | 2009-03-03 08:39:12 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-03-03 08:39:12 -0800 |
commit | 518ebed3d37d9e2ca3092b9fef3e8b7f338dff8e (patch) | |
tree | 028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /test/convlit1.go | |
parent | dab379ca0d53983fc0aa6184a8faf409fa0aa297 (diff) | |
download | go-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/convlit1.go')
-rw-r--r-- | test/convlit1.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/convlit1.go b/test/convlit1.go index 19f98efbd..94d28969b 100644 --- a/test/convlit1.go +++ b/test/convlit1.go @@ -6,7 +6,8 @@ package main -var a = []int ( "a" ); // ERROR "conver|incompatible" +var a = []int { "a" }; // ERROR "conver|incompatible" +var b = int { 1 }; // ERROR "compos" func f() int |