aboutsummaryrefslogtreecommitdiff
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
commit3c56a7b17e71eaf4c30203a553669c5ea2e44ce9 (patch)
treee861cf2f1b2ec448c55adeae95df62cd3b0dacc7 /test/nilptr.go
parente97a55810f4956f08a9738fa6a51dabdfece57c1 (diff)
downloadgo-3c56a7b17e71eaf4c30203a553669c5ea2e44ce9.tar.gz
go-3c56a7b17e71eaf4c30203a553669c5ea2e44ce9.zip
test: make array smaller in nilptr test
Fixes #2314. R=golang-dev, r CC=golang-dev https://golang.org/cl/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 6cf2192047..b0c1df2d95 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