gcc/testsuite/go.test/test/fixedbugs/issue5105.dir/b.go
raw| 1 | // Copyright 2013 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 | import "./a" |
| 8 | |
| 9 | var B = [2]string{"world", "hello"} |
| 10 | |
| 11 | func main() { |
| 12 | if a.A[0] != B[1] { |
| 13 | panic("bad hello") |
| 14 | } |
| 15 | } |