aboutsummaryrefslogtreecommitdiff
path: root/test/complit.go
AgeCommit message (Collapse)Author
2012-02-19test: [a-c]: add introductory comments to testsRob Pike
Very few of the compiler regression tests include a comment saying waht they do. Many are obvious, some are anything but. I've started with a-c in the top directory. More will follow once we agree on the approach, correctness, and thoroughness here. zerodivide.go sneaked in too. R=rsc, r CC=golang-dev https://golang.org/cl/5656100
2012-02-16test: use testlib (first 100)Russ Cox
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656082
2011-12-05gc: remove type elision in struct literalsRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/5437136
2011-12-02gc: composite literals as per Go 1Russ Cox
R=ken2 CC=golang-dev https://golang.org/cl/5450067
2011-01-19delete float, complex - code changesRuss Cox
also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev https://golang.org/cl/3991043
2010-09-04test: remove semiocolons.Rob Pike
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev https://golang.org/cl/2157041
2009-09-14fix "declared and not used" in tests;Russ Cox
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-13convert composite literals from { } to ( ).Russ Cox
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-16convert tests; nothing interesting.Russ Cox
R=r OCL=23012 CL=23014
2009-01-07uncomment a BUG that is now fixedRob Pike
R=rsc DELTA=3 (1 added, 0 deleted, 2 changed) OCL=22195 CL=22207
2009-01-0618 tests are behaving incorrectlyRob Pike
no more surprises - all caught up R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=22194 CL=22194
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox
R=r OCL=21563 CL=21571
2008-10-21rewrite &Point{1, 2} as allocationRuss Cox
R=ken OCL=17592 CL=17592
2008-09-05T{} syntax for constructorsKen Thompson
T(expression) for conversion FUNC keyword no longer a type R=r OCL=14887 CL=14887
2008-09-04extend composite literal test.Rob Pike
update tests. update golden.out R=gri OCL=14816 CL=14816
2008-09-03update bugsRob Pike
add test for composite literals R=gri OCL=14766 CL=14766