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"