From: Ian Lance Taylor Date: Mon, 8 Dec 2008 19:31:55 +0000 (-0800) Subject: Tweak comments so that this test passes with gccgo. X-Git-Tag: weekly.2009-11-06~2557 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=48e5110151579f1d8491b798cbd923ca8df62141;p=gostls13.git Tweak comments so that this test passes with gccgo. bug126.go:7:7: error: redefinition of 'none' bug126.go:6:7: note: previous definition of 'none' was here R=gri DELTA=3 (1 added, 0 deleted, 2 changed) OCL=20563 CL=20723 --- diff --git a/test/bugs/bug126.go b/test/bugs/bug126.go index 2481e1dd3f..8fde08aa31 100644 --- a/test/bugs/bug126.go +++ b/test/bugs/bug126.go @@ -6,5 +6,6 @@ package main -const none = 0 // same const identifier declared twice should not be accepted -const none = 1 // ERROR "redeclared" +// same const identifier declared twice should not be accepted +const none = 0 // GCCGO_ERROR "previous" +const none = 1 // ERROR "redeclared|redef"