diff options
author | Russ Cox <rsc@golang.org> | 2011-12-07 15:00:44 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-12-07 15:00:44 -0500 |
commit | 56ae4bfc095aaa75fb445f0bc081f57171b3a58f (patch) | |
tree | 6727c7a91d5f13062d6fbec933e794cf2a165414 /test | |
parent | 0689c55cd6901c43e498eaeac62bd0079021a0b4 (diff) | |
download | go-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')
-rw-r--r-- | test/nilptr.go | 2 |
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 |