summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug460.dir/b.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug460.dir/b.go')
-rw-r--r--test/fixedbugs/bug460.dir/b.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/fixedbugs/bug460.dir/b.go b/test/fixedbugs/bug460.dir/b.go
index 1868afe07..5c0a0c47e 100644
--- a/test/fixedbugs/bug460.dir/b.go
+++ b/test/fixedbugs/bug460.dir/b.go
@@ -9,6 +9,9 @@ import "./a"
var x a.Foo
func main() {
- x.int = 20 // ERROR "unexported field"
+ x.int = 20 // ERROR "unexported field"
+ x.int8 = 20 // ERROR "unexported field"
+ x.error = nil // ERROR "unexported field"
+ x.rune = 'a' // ERROR "unexported field"
+ x.byte = 20 // ERROR "unexported field"
}
-