]> Cypherpunks.ru repositories - gostls13.git/blob - test/fixedbugs/bug460.dir/b.go
all: make copyright headers consistent with one space after period
[gostls13.git] / test / fixedbugs / bug460.dir / b.go
1 // Copyright 2012 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 b
6
7 import "./a"
8
9 var x a.Foo
10
11 func main() {
12         x.int = 20    // ERROR "unexported field"
13         x.int8 = 20   // ERROR "unexported field"
14         x.error = nil // ERROR "unexported field"
15         x.rune = 'a'  // ERROR "unexported field"
16         x.byte = 20   // ERROR "unexported field"
17 }