mirror of
https://github.com/golang/go
synced 2024-11-18 15:04:44 -07:00
6ae3780503
There is no necessary relationship between the imports of the packages a and b, and gccgo happens to import them in a different order, leading to different output. This ordering is not the purpose of the test in any case. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/40400043
18 lines
286 B
Go
18 lines
286 B
Go
// Copyright 2009 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package main
|
|
|
|
import . "./a"
|
|
import . "./b"
|
|
|
|
var _ T
|
|
var _ V
|
|
|
|
func main() {
|
|
if A != 1 || B != 2 {
|
|
panic("wrong vars")
|
|
}
|
|
}
|