Commit 3c56a7b1 authored by Russ Cox's avatar Russ Cox

test: make array smaller in nilptr test

Fixes #2314.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5437154
parent e97a5581
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment