summaryrefslogtreecommitdiff
path: root/test/convert3.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
* test: don't assign address of array to slice.Ian Lance Taylor2010-08-311-2/+2
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2084042
* gc: new typechecking rulesRuss Cox2010-06-081-2/+3
| | | | | | | | | | | | | | | | | * Code for assignment, conversions now mirrors spec. * Changed some snprint -> smprint. * Renamed runtime functions to separate interface conversions from type assertions: convT2I, assertI2T, etc. * Correct checking of \U sequences. Fixes issue 840. Fixes issue 830. Fixes issue 778. R=ken2 CC=golang-dev http://codereview.appspot.com/1303042
* more 6g reorg; checkpoint.Russ Cox2009-08-031-1/+1
| | | | | | | | | typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
* test non-trivial conversions and assignments,Russ Cox2009-06-191-0/+25
named and unnamed. R=r DELTA=21 (21 added, 0 deleted, 0 changed) OCL=30518 CL=30533