summaryrefslogtreecommitdiff
path: root/test/blank.go
Commit message (Collapse)AuthorAgeFilesLines
* test: revert changes made for Go SSA interpreter test.Alan Donovan2013-10-081-2/+1
| | | | | | R=r, gri CC=golang-dev https://codereview.appspot.com/14552044
* cmd/gc: fix computation of equality class of types.R?my Oudompheng2013-07-021-0/+11
| | | | | | | | | | | | | | A struct with a single field was considered as equivalent to the field type, which is incorrect is the field is blank. Fields with padding could make the compiler think some types are comparable when they are not. Fixes issue 5698. R=rsc, golang-dev, daniel.morsing, bradfitz, gri, r CC=golang-dev https://codereview.appspot.com/10271046
* exp/ssa/interp: (#6 of 5): test interpretation of SSA form of $GOROOT/test/*.go.Alan Donovan2013-02-211-6/+13
| | | | | | | | | | | | | | | | | | | | The interpreter's os.Exit now triggers a special panic rather than kill the test process. (It's semantically dubious, since it will run deferred routines.) Interpret now returns its exit code rather than calling os.Exit. Also: - disabled parts of a few $GOROOT/tests via os.Getenv("GOSSAINTERP"). - remove unnecessary 'slots' param to external functions; they are never closures. Most of the tests are disabled until go/types supports shifts. They can be reenabled if you patch this workaround: https://codereview.appspot.com/7312068 R=iant, bradfitz CC=golang-dev, gri https://codereview.appspot.com/7313062
* cmd/gc: don't hash nor compare struct padding or blank fields.R?my Oudompheng2013-01-181-5/+12
| | | | | | | | Fixes issue 4585. R=rsc, golang-dev CC=golang-dev https://codereview.appspot.com/7142052
* test: add some tests of valid code that failed with gccgoIan Lance Taylor2012-03-301-1/+1
| | | | | | R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5971044
* test: [a-c]: add introductory comments to testsRob Pike2012-02-191-0/+2
| | | | | | | | | | | | 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
* gc: fix another blank bugRuss Cox2011-12-091-0/+17
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/5478051
* gc: remove funarg special case in structfieldRuss Cox2011-11-281-0/+24
| | | | | | | | This should make CL 5431046 a little simpler. R=ken2 CC=golang-dev http://codereview.appspot.com/5444048
* delete float, complex - code changesRuss Cox2011-01-191-15/+36
| | | | | | | | | | | also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev http://codereview.appspot.com/3991043
* throughout: simplify two-variable ranges with unused second variableRyan Hitchman2010-12-081-1/+1
| | | | | | | | R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/3529041 Committer: Robert Griesemer <gri@golang.org>
* test: remove semiocolons.Rob Pike2010-09-041-30/+30
| | | | | | | | The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
* making some more non-gofmt'ed files save for new semicolon ruleRobert Griesemer2009-12-091-1/+1
| | | | | R=rsc, r http://codereview.appspot.com/171051
* 6g bug fixes:Russ Cox2009-10-191-0/+4
| | | | | | | | | | * bug211 * embedded interfaces with lowercase methods * var _ = f() at top level R=ken OCL=35898 CL=35898
* a few more blank testsRuss Cox2009-09-091-2/+9
| | | | | | R=ken OCL=34500 CL=34500
* write-only variable _Russ Cox2009-09-081-0/+90
R=ken OCL=34465 CL=34470