aboutsummaryrefslogtreecommitdiff
path: root/test/func1.go
AgeCommit message (Collapse)Author
2020-12-04[dev.typeparams] test: enable some more errorcheck testsRobert Griesemer
Change-Id: I103e3eeacd5b11efd63c965482a626878ba5ac81 Reviewed-on: https://go-review.googlesource.com/c/go/+/275216 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
2013-03-15cmd/gc: ensure unique parameter and result names in function typesRuss Cox
In addition to fixing the bug, the check is now linear instead of quadratic. Fixes #4469. R=ken2 CC=golang-dev https://golang.org/cl/7773047
2012-02-19test: explanatory comments [c-g]*Rob Pike
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656103
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
2011-01-19delete float, complex - code changesRuss Cox
also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev https://golang.org/cl/3991043
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
2008-09-19Check for specific error messages in the testsuite. ThisIan Lance Taylor
permits testing that the compiler emits error messages for specific lines that match egrep regexps. The desired error messages are expressed using comments of the form // ERROR "regexp" R=r DELTA=90 (73 added, 8 deleted, 9 changed) OCL=15513 CL=15566
2008-07-08test update. also remove two duplicatesRob Pike
SVN=126336
2008-06-06- fixed a few tests and added 3 incorrectly succeeding testsRobert Griesemer
- updated go_lang.txt to be more uniform and match the implementation - made makehtml work on Mac - fixed a couple of bugs in go.atg SVN=121520