aboutsummaryrefslogtreecommitdiff
path: root/test/indirect1.go
AgeCommit message (Collapse)Author
2012-02-23test: commentary for [h-m]*.goRob Pike
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5674112
2012-02-16test: use testlib (fourth 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/5673079
2012-01-22test: explicitly use variables to avoid gccgo "not used" errorIan Lance Taylor
I haven't looked at the source, but the gc compiler appears to omit "not used" errors when there is an error in the initializer. This is harder to do in gccgo, and frankly I think the "not used" error is still useful even if the initializer has a problem. This CL tweaks some tests to avoid the error, which is not the point of these tests in any case. R=golang-dev, r CC=golang-dev https://golang.org/cl/5561059
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-12-09making some more non-gofmt'ed files save for new semicolon ruleRobert Griesemer
R=rsc, r https://golang.org/cl/171051
2009-07-30delete some code from walkexpr that is nowRuss Cox
handled by typecheck. second switch is gone move floating point minus into back end R=ken OCL=32558 CL=32558
2009-07-02Recognize gccgo error messages.Ian Lance Taylor
(Amusing side note: the GNU coding standards say: Please do not use the term "illegal" to refer to erroneous input to a computer program. Please use "invalid" for this, and reserve the term "illegal" for activities prohibited by law.) indirect1.go:35:3: error: argument must be string or array or slice or map indirect1.go:36:3: error: argument must be string or array or slice or map indirect1.go:38:3: error: argument must be string or array or slice or map indirect1.go:41:3: error: argument must be string or array or slice or map indirect1.go:42:3: error: argument must be string or array or slice or map indirect1.go:44:3: error: argument must be string or array or slice or map indirect1.go:55:3: error: argument must be string or array or slice or map indirect1.go:56:3: error: argument must be string or array or slice or map indirect1.go:58:3: error: argument must be string or array or slice or map indirect1.go:61:3: error: argument must be array or slice indirect1.go:62:3: error: argument must be array or slice indirect1.go:64:3: error: argument must be array or slice R=rsc DELTA=12 (0 added, 0 deleted, 12 changed) OCL=31081 CL=31088
2009-06-25update tests for CL 30586.Russ Cox
won't submit unless 30586 goes in. R=r DELTA=94 (65 added, 16 deleted, 13 changed) OCL=30592 CL=30755