1
0
mirror of https://github.com/golang/go synced 2024-11-15 01:40:25 -07:00
go/test/fixedbugs/bug191.dir/a.go
Ian Lance Taylor 6ae3780503 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
2013-12-10 12:05:37 -08:00

15 lines
219 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 a
var A int
func init() {
A = 1
}
type T int;