summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2009-07-13bug148.Russ Cox1-2/+4
R=ken OCL=31582 CL=31582
2009-07-09bug168 (dsymonds) + fixRuss Cox1-0/+18
R=ken OCL=31399 CL=31399
2009-07-07bug167Russ Cox2-6/+0
R=ken OCL=31295 CL=31295
2009-07-07update tests for new reflectRuss Cox2-12/+12
R=r DELTA=12 (0 added, 0 deleted, 12 changed) OCL=31240 CL=31290
2009-07-07bug167: types declared in different scopes shouldRobert Griesemer2-0/+32
be independent of each other R=rsc DELTA=28 (28 added, 0 deleted, 0 changed) OCL=31271 CL=31273
2009-07-07fix testRobert Griesemer1-2/+2
R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=31270 CL=31272
2009-07-06allow conversion to interface typeRuss Cox1-4/+11
when implicit assignment would have been okay. R=ken OCL=31225 CL=31227
2009-07-03change bug163 to use actual non-letter in identifierRuss Cox1-1/+1
R=r,iant DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31146 CL=31148
2009-07-03maps have == so maps should work as map keys.Russ Cox4-7/+6
fix tests of bad map keys to use slices instead. R=r DELTA=7 (0 added, 1 deleted, 6 changed) OCL=31123 CL=31145
2009-07-02Recognize gccgo error message.Ian Lance Taylor1-1/+1
bug022.go:8:13: error: attempt to index object which is not array, string, or map R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31082 CL=31089
2009-07-02Recognize gccgo error messages.Ian Lance Taylor1-12/+12
(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-29bug163 bug164 bug166Russ Cox4-12/+2
R=ken OCL=30889 CL=30889
2009-06-29bug041 not a bug.Russ Cox2-19/+0
can now forward declare across files R=r DELTA=15 (0 added, 15 deleted, 0 changed) OCL=30873 CL=30880
2009-06-29bogus test: planning to allow forward declarationsRuss Cox1-16/+0
of structs/interfaces in other files in the package. R=r DELTA=12 (0 added, 12 deleted, 0 changed) OCL=30865 CL=30868
2009-06-296g appears to permit semicolons to be omitted after qualifiedIan Lance Taylor2-0/+16
identifiers. This is not one of the exceptions permitted by th spec. R=ken,rsc DELTA=11 (11 added, 0 deleted, 0 changed) OCL=30844 CL=30852
2009-06-26Getenv: almost no one wants the error, so make it return a string that may ↵Rob Pike1-2/+2
be empty. Getenverror is the new name for the old routine that returns an error too. R=rsc DELTA=35 (7 added, 7 deleted, 21 changed) OCL=30818 CL=30821
2009-06-25bug165Russ Cox2-5/+5
R=ken OCL=30783 CL=30783
2009-06-25add ./ to imports where necessaryRuss Cox6-7/+7
R=r DELTA=51 (4 added, 4 deleted, 43 changed) OCL=30759 CL=30778
2009-06-25cannot have interfaces refer to themselves as map keysRob Pike2-0/+15
R=rsc DELTA=11 (11 added, 0 deleted, 0 changed) OCL=30774 CL=30774
2009-06-25update tests for CL 30586.Russ Cox5-30/+83
won't submit unless 30586 goes in. R=r DELTA=94 (65 added, 16 deleted, 13 changed) OCL=30592 CL=30755
2009-06-22canonicalize bug122.goRob Pike2-4/+2
R=rsc DELTA=6 (1 added, 3 deleted, 2 changed) OCL=30604 CL=30604
2009-06-19test non-trivial conversions and assignments,Russ Cox1-0/+25
named and unnamed. R=r DELTA=21 (21 added, 0 deleted, 0 changed) OCL=30518 CL=30533
2009-06-17do use $$ in path names, so that multipleRuss Cox1-4/+3
runs on the same machine don't collide. R=r DELTA=4 (0 added, 1 deleted, 3 changed) OCL=30426 CL=30429
2009-06-17`` strings should not accept newlines as charactersRobert Griesemer2-0/+21
R=r DELTA=17 (17 added, 0 deleted, 0 changed) OCL=30417 CL=30422
2009-06-15bug163: ideographs are not lettersRob Pike2-0/+20
also update golden.out from bug162 R=rsc DELTA=16 (16 added, 0 deleted, 0 changed) OCL=30298 CL=30324
2009-06-09bug: pointer arithmetic involving large offsetsRuss Cox1-0/+25
needs to dereference the base pointer to make sure it catches nil. R=r,ken DELTA=21 (21 added, 0 deleted, 0 changed) OCL=30083 CL=30101
2009-06-06bug140 is fixedRuss Cox2-5/+0
R=ken OCL=29989 CL=29999
2009-06-06update golden.out with new compiler errorsRuss Cox1-2/+2
R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=29986 CL=29988
2009-06-05fix 386 malloc tests,Russ Cox4-16/+20
detect 386 darwin breakpoint line. R=r DELTA=22 (4 added, 0 deleted, 18 changed) OCL=29929 CL=29944
2009-06-04string([]int) is now implementedRob Pike1-5/+15
R=rsc DELTA=18 (10 added, 2 deleted, 6 changed) OCL=29909 CL=29909
2009-06-04bug161, fixedRuss Cox1-0/+17
R=ken OCL=29907 CL=29907
2009-06-04more 386 runtime fixes.Russ Cox1-1/+1
can pass many tests; current stumbling block is an 8l bug. R=r DELTA=122 (83 added, 8 deleted, 31 changed) OCL=29872 CL=29876
2009-06-04fix handling of floating point zero constant 0p+0Russ Cox3-0/+34
R=r DELTA=25 (25 added, 0 deleted, 0 changed) OCL=29875 CL=29875
2009-06-03bug in parallel assignmentRuss Cox2-0/+44
R=r DELTA=40 (40 added, 0 deleted, 0 changed) OCL=29850 CL=29855
2009-06-01update Go tree to use new syscall package.Russ Cox1-6/+1
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-05-31prevent multiple similar errorsKen Thompson1-3/+0
in complex literals. side effect is fix of error in initializerr.go R=r OCL=29667 CL=29667
2009-05-31new 64-bit math test.Russ Cox2-3/+714
allow multiline recipes in run. R=r DELTA=712 (708 added, 2 deleted, 2 changed) OCL=29641 CL=29666
2009-05-31Adjust expected errors to work with gccgo.Ian Lance Taylor4-12/+12
The change to assign.go is because the gcc testsuite fails to handle .* in a normal way: it matches against the entire compiler output, not just a single line. assign.go:15:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key') assign.go:19:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key') assign.go:23:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key') assign.go:27:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key') chan/perm.go:14:5: error: incompatible types in assignment chan/perm.go:15:5: error: incompatible types in assignment chan/perm.go:16:6: error: incompatible types in assignment chan/perm.go:17:6: error: incompatible types in assignment chan/perm.go:24:7: error: invalid send on receive-only channel chan/perm.go:25:12: error: invalid send on receive-only channel chan/perm.go:31:4: error: invalid receive on send-only channel chan/perm.go:32:9: error: invalid receive on send-only channel chan/perm.go:38:2: error: invalid send on receive-only channel chan/perm.go:42:2: error: invalid receive on send-only channel initializerr.go:14:17: error: reference to undefined variable 'X' initializerr.go:14:19: error: mixture of field and value initializers initializerr.go:15:26: error: duplicate value for field 'Y' initializerr.go:16:10: error: too many values in struct composite literal initializerr.go:18:19: error: index expression is not integer constant initializerr.go:17:11: error: too many elements in composite literal R=rsc DELTA=12 (0 added, 0 deleted, 12 changed) OCL=29657 CL=29665
2009-05-30bug157Russ Cox2-5/+0
R=ken OCL=29651 CL=29653
2009-05-30bug 158Ken Thompson3-7/+3
R=r OCL=29646 CL=29646
2009-05-29Replacement for abandoned CL 29626:Robert Griesemer3-0/+67
bug157 and bug158 R=rsc DELTA=59 (59 added, 0 deleted, 0 changed) OCL=29632 CL=29634
2009-05-29bug 156Ken Thompson2-4/+0
R=r OCL=29623 CL=29623
2009-05-29bug 155Ken Thompson2-6/+0
R=r OCL=29619 CL=29619
2009-05-2964-bit integer math bugsRuss Cox3-0/+54
R=r DELTA=46 (46 added, 0 deleted, 0 changed) OCL=29569 CL=29614
2009-05-29bug 149Ken Thompson2-6/+0
R=r OCL=29612 CL=29612
2009-05-29integer conversions and test.Russ Cox1-0/+140
R=ken OCL=29577 CL=29589
2009-05-27bug 153Ken Thompson2-4/+0
R=r OCL=29479 CL=29479
2009-05-27fix bug154; tweak bug153 exit statusRuss Cox2-7/+0
R=ken OCL=29448 CL=29448
2009-05-27floating point bugRobert Griesemer2-0/+39
R=rsc DELTA=35 (35 added, 0 deleted, 0 changed) OCL=29442 CL=29444
2009-05-27bad error messageRobert Griesemer2-0/+18
TBR=rsc DELTA=14 (14 added, 0 deleted, 0 changed) OCL=29441 CL=29441