aboutsummaryrefslogtreecommitdiff
path: root/test/convlit1.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
2009-08-03more 6g reorg; checkpoint.Russ Cox
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
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-16convert tests; nothing interesting.Russ Cox
R=r OCL=23012 CL=23014
2008-10-20Match error messages generated by gccgo:Ian Lance Taylor
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
2008-10-16diagnose various conversion problemsRuss Cox
R=ken OCL=17320 CL=17320