Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / go.test / test / fixedbugs / bug382.go
1 // $G $D/$F.dir/pkg.go && $G $D/$F.go || echo "Bug 382"
2
3 // NOTE: This test is not run by 'run.go' and so not run by all.bash.
4 // To run this test you must use the ./run shell script.
5
6 // Copyright 2011 The Go Authors. All rights reserved.
7 // Use of this source code is governed by a BSD-style
8 // license that can be found in the LICENSE file
9
10 // Issue 2529
11
12 package main
13 import "./pkg"
14
15 var x = pkg.E
16
17 var fo = struct {F pkg.T}{F: x}