summaryrefslogtreecommitdiff
path: root/test/nilptr.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-07 15:00:44 -0500
committerRuss Cox <rsc@golang.org>2011-12-07 15:00:44 -0500
commit56ae4bfc095aaa75fb445f0bc081f57171b3a58f (patch)
tree6727c7a91d5f13062d6fbec933e794cf2a165414 /test/nilptr.go
parent0689c55cd6901c43e498eaeac62bd0079021a0b4 (diff)
downloadgo-56ae4bfc095aaa75fb445f0bc081f57171b3a58f.tar.gz
test: make array smaller in nilptr test
Fixes issue 2314. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5437154
Diffstat (limited to 'test/nilptr.go')
-rw-r--r--test/nilptr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nilptr.go b/test/nilptr.go
index 6cf219204..b0c1df2d9 100644
--- a/test/nilptr.go
+++ b/test/nilptr.go
@@ -13,7 +13,7 @@ import "unsafe"
// cause a memory access fault. This test checks
// that Go is doing the correct explicit checks to catch
// these nil pointer accesses, not just relying on the hardware.
-var dummy [512 << 20]byte // give us a big address space
+var dummy [256 << 20]byte // give us a big address space
func main() {
// the test only tests what we intend to test