summaryrefslogtreecommitdiff
path: root/test/declbad.go
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-0/+8
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-2/+3
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+58
2011-09-13Imported Upstream version 60Ondřej Surý1-58/+0
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-11/+11
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-21/+21
2009-09-15last round: non-package codeRuss Cox1-0/+7
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
2009-08-19With the changes to support automatic forward declarations ofIan Lance Taylor1-10/+10
type names, gccgo no longer reports redefinition errors for :=, because it no longer knows at parse time whether the type has changed. Adjust this test to not match "redefinition", and to instead match gccgo's current output. declbad.go:19:3: error: variables redeclared but no variable is new declbad.go:34:3: error: variables redeclared but no variable is new declbad.go:39:3: error: variables redeclared but no variable is new declbad.go:44:3: error: variables redeclared but no variable is new declbad.go:49:3: error: variables redeclared but no variable is new declbad.go:24:3: error: incompatible types in assignment declbad.go:29:3: error: incompatible types in assignment declbad.go:39:3: error: incompatible types in assignment R=rsc DELTA=10 (0 added, 0 deleted, 10 changed) OCL=33537 CL=33539
2009-08-05delay := processingRuss Cox1-5/+5
R=ken OCL=32772 CL=32772
2009-08-04delayed evaluation of var blocksRuss Cox1-2/+2
R=ken OCL=32750 CL=32753
2009-04-28Recognize gcco error messages.Ian Lance Taylor1-10/+10
declbad.go:15:3: error: variables redeclared but no variable is new declbad.go:20:3: error: redefinition of 'f' declbad.go:19:3: note: previous definition of 'f' was here declbad.go:25:3: error: redefinition of 'i' declbad.go:24:3: note: previous definition of 'i' was here declbad.go:30:3: error: variables redeclared but no variable is new declbad.go:35:3: error: redefinition of 'i' declbad.go:34:3: note: previous definition of 'i' was here declbad.go:40:3: error: variables redeclared but no variable is new declbad.go:45:3: error: variables redeclared but no variable is new R=r DELTA=10 (0 added, 0 deleted, 10 changed) OCL=27934 CL=27957
2009-04-20missing '}' (found by pretty)Robert Griesemer1-0/+1
R=r DELTA=1 (1 added, 0 deleted, 0 changed) OCL=27633 CL=27639
2009-04-18tests for redeclaration in :=Rob Pike1-0/+50
R=ken DELTA=71 (71 added, 0 deleted, 0 changed) OCL=27616 CL=27616