1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // Test cases for sort order of declarations.
9 // C1 should be second.
12 // C0 should be first.
15 // V1 should be second.
18 // V0 should be first.
21 // CAx constants should appear after CBx constants.
23 CA2
= iota // before CA1
28 // VAx variables should appear after VBx variables.
35 // T1 should be second.
38 // T0 should be first.
41 // F1 should be second.
44 // F0 should be first.