test: don't rely on order of unrelated imports in bug191

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
This commit is contained in:
Ian Lance Taylor 2013-12-10 12:05:37 -08:00
parent c69402d82b
commit 6ae3780503
5 changed files with 10 additions and 5 deletions

View file

@ -11,4 +11,7 @@ var _ T
var _ V
func main() {
if A != 1 || B != 2 {
panic("wrong vars")
}
}