From 48e5110151579f1d8491b798cbd923ca8df62141 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 8 Dec 2008 11:31:55 -0800 Subject: [PATCH] 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 --- test/bugs/bug126.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- 2.48.1