From 86dda5fb05fe4f1c09f6513bb61383cfdbfafaad Mon Sep 17 00:00:00 2001 From: Daniel Morsing Date: Sun, 7 Oct 2012 06:53:57 +0200 Subject: 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 --- test/fixedbugs/bug460.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/fixedbugs/bug460.go (limited to 'test/fixedbugs/bug460.go') 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 + -- cgit v1.2.1