summaryrefslogtreecommitdiff
path: root/test/235.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
committerRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
commita193f430ba881e07e25325a55fa4f8c47bd4c9e5 (patch)
treea3b6c6ab9f68981976738f0efc7988353d5a0d82 /test/235.go
parentd513b8157d41f0cd240cc6ad74925702c74fc73e (diff)
downloadgo-a193f430ba881e07e25325a55fa4f8c47bd4c9e5.tar.gz
convert composite literals from { } to ( ).
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
Diffstat (limited to 'test/235.go')
-rw-r--r--test/235.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/235.go b/test/235.go
index e24106dd0..26ed16ff2 100644
--- a/test/235.go
+++ b/test/235.go
@@ -32,16 +32,16 @@ func min(xs []uint64) uint64 {
func main() {
- F := []uint64{2, 3, 5};
+ F := []uint64(2, 3, 5);
var n = len(F);
- OUT := []uint64{
+ OUT := []uint64(
2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 27, 30, 32, 36,
40, 45, 48, 50, 54, 60, 64, 72, 75, 80, 81, 90, 96, 100, 108, 120, 125,
128, 135, 144, 150, 160, 162, 180, 192, 200, 216, 225, 240, 243, 250,
256, 270, 288, 300, 320, 324, 360, 375, 384, 400, 405, 432, 450, 480,
486, 500, 512, 540, 576, 600, 625, 640, 648, 675, 720, 729, 750, 768,
800, 810, 864, 900, 960, 972, 1000, 1024, 1080, 1125, 1152, 1200, 1215,
- 1250, 1280, 1296, 1350, 1440, 1458, 1500, 1536, 1600 };
+ 1250, 1280, 1296, 1350, 1440, 1458, 1500, 1536, 1600 );
x := uint64(1);
ins := make([]T, n);