summaryrefslogtreecommitdiff
path: root/test/convlit1.go
Commit message (Collapse)AuthorAgeFilesLines
* test: [a-c]: add introductory comments to testsRob Pike2012-02-191-0/+3
| | | | | | | | | | | | 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
* more 6g reorg; checkpoint.Russ Cox2009-08-031-2/+2
| | | | | | | | | typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
* Automated g4 rollback of changelist 25024,Russ Cox2009-03-031-1/+2
| | | | | | | | | | 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-2/+1
| | | | | | | | | | only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
* convert tests; nothing interesting.Russ Cox2009-01-161-1/+3
| | | | | | R=r OCL=23012 CL=23014
* Match error messages generated by gccgo:Ian Lance Taylor2008-10-201-2/+2
| | | | | | | | | | | convlit1.go:6:15: error: composite literal requires array, map, or struct type convlit1.go:5:16: error: incompatible type for element 0 in composite literal convlit1.go:10:15: error: incompatible types in binary expression R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=17506 CL=17509
* diagnose various conversion problemsRuss Cox2008-10-161-0/+15
R=ken OCL=17320 CL=17320