Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / go.test / test / fixedbugs / bug126.go
bloba8d56e1221e4e42f86f878cd460fb4c1ec370416
1 // errchk $G $D/$F.go
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 package main
9 // same const identifier declared twice should not be accepted
10 const none = 0 // GCCGO_ERROR "previous"
11 const none = 1; // ERROR "redeclared|redef"