diff options
| author | Luuk van Dijk <lvd@golang.org> | 2012-01-10 11:18:56 +0100 |
|---|---|---|
| committer | Luuk van Dijk <lvd@golang.org> | 2012-01-10 11:18:56 +0100 |
| commit | 4bcc9c6b5e91eca8de1329ea2151610e2f3e3ada (patch) | |
| tree | 060e45410bf5addde7449a05611c5b86459dea34 /test/fixedbugs/bug385_64.go | |
| parent | 556258e57b4a937b0021472b7489520605f80c79 (diff) | |
| download | go-4bcc9c6b5e91eca8de1329ea2151610e2f3e3ada.tar.xz | |
gc: disallow declaration of variables outside package.
Fixes #2231.
Declaring main.i in package main in the same way already triggers syntax errors.
R=rsc
CC=golang-dev
https://golang.org/cl/5483078
Diffstat (limited to 'test/fixedbugs/bug385_64.go')
0 files changed, 0 insertions, 0 deletions
