1
0
mirror of https://github.com/golang/go synced 2024-11-13 19:00:25 -07:00
go/test
Ian Lance Taylor fa98cf6eef More evaluation order tests, for global variables and switch.
gccgo currently fails this test.

R=rsc
CC=golang-dev
https://golang.org/cl/179108
2009-12-18 21:59:47 -08:00
..
bench 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
bugs gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
chan runtime: fix race condition 2009-12-18 12:25:53 -08:00
fixedbugs More evaluation order tests, for global variables and switch. 2009-12-18 21:59:47 -08:00
interface test/interface/receiver.go: expand to do dynamic 2009-11-14 19:28:13 -08:00
ken trailing comma's are not accepted with current syntax 2009-12-10 13:14:44 -08:00
nilptr drop output from nilptr tests; 2009-11-09 23:11:36 -08:00
64bit.go - gofmt these files 2009-12-09 16:55:03 -08:00
235.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
args.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
arm-pass.txt make arm pass match what's working on real hardware 2009-11-14 20:08:22 -08:00
assign.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bigalg.go unused imports 2009-09-17 10:27:04 -07:00
blank1.go write-only variable _ 2009-09-08 23:16:19 -07:00
blank.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
chancap.go len and cap on chans 2009-08-20 11:12:04 -07:00
char_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
closedchan.go
closure.go make every func literal expression allocate, 2009-07-28 20:01:00 -07:00
cmp1.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp2.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp3.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp4.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
cmp5.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
complit.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
compos.go missing files; cleaned up g4 nothave output. 2009-09-24 13:38:18 -07:00
const1.go Cleaned up gccgo error messages require minor adjustment to 2009-11-05 16:04:45 -08:00
const2.go
const3.go
const.go
convert3.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
convert.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
convlit1.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
convlit.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
copy.go - flip in and out to exercise overlap check a little (could do better) 2009-11-18 22:26:36 -08:00
decl.go last round: non-package code 2009-09-15 12:42:24 -07:00
declbad.go last round: non-package code 2009-09-15 12:42:24 -07:00
defer.go
empty.go
env.go Getenv: almost no one wants the error, so make it return a string that may be empty. 2009-06-26 20:28:41 -07:00
errchk handle compiler crash better: 2009-10-09 16:44:40 -07:00
escape1.go
escape.go last round: non-package code 2009-09-15 12:42:24 -07:00
float_lit.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
floatcmp.go gc: fix up floating point NaN comparisons 2009-11-15 17:24:14 -08:00
for.go
func1.go
func2.go
func3.go
func4.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
func5.go add tests for the func()() case 2009-09-14 13:09:53 -07:00
func.go
gc1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
gc.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
golden.out runtime: fix race condition 2009-12-18 12:25:53 -08:00
hashmap.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
helloworld.go
hilbert.go fix test 2009-07-07 10:30:31 -07:00
if1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
if.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
import1.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
import.go implications of stricter type equality: 2009-05-08 15:40:14 -07:00
indirect1.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
indirect.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
initcomma.go
initialize.go last round: non-package code 2009-09-15 12:42:24 -07:00
initializerr.go Adjust expected errors to work with gccgo. 2009-05-31 11:18:52 -07:00
initsyscall.go unused imports 2009-09-17 10:27:04 -07:00
int_lit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
intcvt.go making some more non-gofmt'ed files save for new semicolon rule 2009-12-09 19:27:08 -08:00
iota.go
literal.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
malloc1.go
mallocrand.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
mallocrep1.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
mallocrep.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
map.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
method1.go Enable these tests. Fix divconst.go and modconst.go to 2009-08-21 15:43:23 -07:00
method2.go
method3.go gc: method expressions on concrete types 2009-12-18 17:24:58 -08:00
method.go gc: method expressions on concrete types 2009-12-18 17:24:58 -08:00
nacl-pass.txt nacl - run tests under emulator. 2009-09-22 16:56:28 -07:00
named1.go gccgo does not distinguish "use" and "assign" in these error 2009-10-20 23:11:00 -07:00
named.go test: comparisons have type bool 2009-09-24 17:54:47 -07:00
nil.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
parentype.go undo 35108 (disallow parens around type in struct literal). 2009-09-29 21:21:14 -07:00
peano.go time tests; sort -nr times.out | sed 10q is illuminating. 2009-10-09 11:18:32 -07:00
printbig.go
range.go last round: non-package code 2009-09-15 12:42:24 -07:00
rename1.go Recognize gccgo error messages. 2009-10-26 16:06:46 -07:00
rename.go defining package block names must override 2009-09-09 01:01:39 -07:00
run Make tests run on systems missing time utility 2009-11-30 15:07:57 -08:00
run-arm fix arm test to actual return success/fail and expose runcgo 2009-10-05 21:51:34 -07:00
run-nacl make Native Client support build again, 2009-12-04 10:11:32 -08:00
runtime.go Recognize gccgo error message. 2009-11-02 10:12:40 -08:00
sieve.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
sigchld.go update Go tree to use new syscall package. 2009-06-01 22:14:39 -07:00
simassign.go missed a couple of files in test 2009-12-09 21:39:20 -08:00
stack.go
string_lit.go - gofmt these files 2009-12-09 16:55:03 -08:00
stringrange.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
switch1.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
switch.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
test0.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
turing.go
typeswitch1.go update type switch to match spec. 2009-09-09 00:18:16 -07:00
typeswitch.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
utf.go change utf8.FullRuneInString and utf8.DecodeRuneInString 2009-05-11 14:10:34 -07:00
varinit.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
vectors.go Change to container/vector interface: 2009-11-24 13:43:18 -08:00