summaryrefslogtreecommitdiff
path: root/test/complit.go
Commit message (Collapse)AuthorAgeFilesLines
* test: [a-c]: add introductory comments to testsRob Pike2012-02-191-0/+2
| | | | | | | | | | | | 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 http://codereview.appspot.com/5656100
* test: use testlib (first 100)Russ Cox2012-02-161-1/+1
| | | | | | | | | | | 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 http://codereview.appspot.com/5656082
* gc: remove type elision in struct literalsRuss Cox2011-12-051-1/+1
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/5437136
* gc: composite literals as per Go 1Russ Cox2011-12-021-0/+16
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/5450067
* delete float, complex - code changesRuss Cox2011-01-191-19/+51
| | | | | | | | | | | also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev http://codereview.appspot.com/3991043
* test: remove semiocolons.Rob Pike2010-09-041-22/+22
| | | | | | | | The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
* fix "declared and not used" in tests;Russ Cox2009-09-141-1/+1
| | | | | | | | | also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
* Automated g4 rollback of changelist 25024,Russ Cox2009-03-031-13/+13
| | | | | | | | | | plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
* convert composite literals from { } to ( ).Russ Cox2009-02-131-13/+13
| | | | | | | | | | only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
* delete exportRuss Cox2009-01-201-4/+4
| | | | | | TBR=r OCL=23121 CL=23127
* convert tests; nothing interesting.Russ Cox2009-01-161-4/+4
| | | | | | R=r OCL=23012 CL=23014
* uncomment a BUG that is now fixedRob Pike2009-01-071-2/+3
| | | | | | | R=rsc DELTA=3 (1 added, 0 deleted, 2 changed) OCL=22195 CL=22207
* 18 tests are behaving incorrectlyRob Pike2009-01-061-4/+4
| | | | | | | | | no more surprises - all caught up R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=22194 CL=22194
* new new & makeRuss Cox2009-01-061-2/+2
| | | | | | R=r OCL=22166 CL=22166
* change *map to map; *chan to chan; new(T) to new(*T)Russ Cox2008-12-191-4/+4
| | | | | | | | fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
* convert *[] to [].Russ Cox2008-12-181-2/+2
| | | | | | R=r OCL=21563 CL=21571
* rewrite &Point{1, 2} as allocationRuss Cox2008-10-211-0/+9
| | | | | | R=ken OCL=17592 CL=17592
* T{} syntax for constructorsKen Thompson2008-09-051-12/+12
| | | | | | | | | T(expression) for conversion FUNC keyword no longer a type R=r OCL=14887 CL=14887
* extend composite literal test.Rob Pike2008-09-041-1/+17
| | | | | | | | | update tests. update golden.out R=gri OCL=14816 CL=14816
* update bugsRob Pike2008-09-031-0/+44
add test for composite literals R=gri OCL=14766 CL=14766