Source file test/fixedbugs/issue31636.dir/main.go
1 // Copyright 2019 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. 4 5 package main 6 7 // We want the initializers of these packages to occur in source code 8 // order. See issue 31636. This is the behavior up to and including 9 // 1.13. For 1.14, we will move to a variant of lexicographic ordering 10 // which will require a change to the test output of this test. 11 import ( 12 _ "./c" 13 14 _ "./b" 15 16 _ "./a" 17 ) 18 19 func main() { 20 } 21