aboutsummaryrefslogtreecommitdiff
path: root/test/blank.go
AgeCommit message (Collapse)Author
2013-10-08test: revert changes made for Go SSA interpreter test.Alan Donovan
R=r, gri CC=golang-dev https://golang.org/cl/14552044
2013-07-02cmd/gc: fix computation of equality class of types.Rémy Oudompheng
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 #5698. R=rsc, golang-dev, daniel.morsing, bradfitz, gri, r CC=golang-dev https://golang.org/cl/10271046
2013-02-21exp/ssa/interp: (#6 of 5): test interpretation of SSA form of $GOROOT/test/*.go.Alan Donovan
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://golang.org/cl/7312068 R=iant, bradfitz CC=golang-dev, gri https://golang.org/cl/7313062
2013-01-18cmd/gc: don't hash nor compare struct padding or blank fields.Rémy Oudompheng
Fixes #4585. R=rsc, golang-dev CC=golang-dev https://golang.org/cl/7142052
2012-03-30test: add some tests of valid code that failed with gccgoIan Lance Taylor
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5971044
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
2011-12-09gc: fix another blank bugRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/5478051
2011-11-28gc: remove funarg special case in structfieldRuss Cox
This should make CL 5431046 a little simpler. R=ken2 CC=golang-dev https://golang.org/cl/5444048
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-12-08throughout: simplify two-variable ranges with unused second variableRyan Hitchman
R=golang-dev, gri CC=golang-dev https://golang.org/cl/3529041
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-10-196g bug fixes:Russ Cox
* bug211 * embedded interfaces with lowercase methods * var _ = f() at top level R=ken OCL=35898 CL=35898
2009-09-09a few more blank testsRuss Cox
R=ken OCL=34500 CL=34500
2009-09-08write-only variable _Russ Cox
R=ken OCL=34465 CL=34470