diff options
author | Daniel Morsing <daniel.morsing@gmail.com> | 2012-10-07 06:53:57 +0200 |
---|---|---|
committer | Daniel Morsing <daniel.morsing@gmail.com> | 2012-10-07 06:53:57 +0200 |
commit | 86dda5fb05fe4f1c09f6513bb61383cfdbfafaad (patch) | |
tree | 0591b78c0a9a57659d7bd13639e7d9c0dac1aa17 /test/fixedbugs/bug460.go | |
parent | c47147f7b225c655763c1ae32426cabb6f4856ad (diff) | |
download | go-86dda5fb05fe4f1c09f6513bb61383cfdbfafaad.tar.gz |
cmd/gc: Don't export embedded builtins
Fixes issue 4124.
R=golang-dev, dave, minux.ma, remyoudompheng, rsc
CC=golang-dev
http://codereview.appspot.com/6543057
Diffstat (limited to 'test/fixedbugs/bug460.go')
-rw-r--r-- | test/fixedbugs/bug460.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixedbugs/bug460.go b/test/fixedbugs/bug460.go new file mode 100644 index 000000000..79234a3b9 --- /dev/null +++ b/test/fixedbugs/bug460.go @@ -0,0 +1,10 @@ +// errorcheckdir + +// Copyright 2012 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// part one of issue 4124. Make sure that the compiler rejects access attempts. + +package ignored + |