aboutsummaryrefslogtreecommitdiff
path: root/test/nilptr2.go
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-08-16 21:14:38 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-08-16 21:14:38 +0400
commiteaa070448354c1710f053806dc703ad1d3a20558 (patch)
tree3149be6f510b7d098f423516a8bb7ee3a95232ae /test/nilptr2.go
parent187b9c695f2c8fae14ed289f9f6364628f633490 (diff)
downloadgo-eaa070448354c1710f053806dc703ad1d3a20558.tar.gz
go-eaa070448354c1710f053806dc703ad1d3a20558.zip
test: say that nilptr2.go requires 256+MB stack
Fixes #6161. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13059043
Diffstat (limited to 'test/nilptr2.go')
-rw-r--r--test/nilptr2.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/nilptr2.go b/test/nilptr2.go
index 3d9ca0a7a0..57a5f8068f 100644
--- a/test/nilptr2.go
+++ b/test/nilptr2.go
@@ -87,8 +87,8 @@ var tests = []struct{
{"&bigstructp.x[i]", func() { println(&bigstructp.x[i]) }},
{"bigstructp.x[9]", func() { println(bigstructp.x[9]) }},
{"&bigstructp.x[9]", func() { println(&bigstructp.x[9]) }},
- {"bigstructp.x[200<<20]", func() { println(bigstructp.x[200<<20]) }},
- {"&bigstructp.x[200<<20]", func() { println(&bigstructp.x[200<<20]) }},
+ {"bigstructp.x[100<<20]", func() { println(bigstructp.x[100<<20]) }},
+ {"&bigstructp.x[100<<20]", func() { println(&bigstructp.x[100<<20]) }},
{"bigstructp.l", func() { println(bigstructp.l) }},
{"&bigstructp.l", func() { println(&bigstructp.l) }},
{"m1.F()", func() { println(m1.F()) }},
@@ -109,7 +109,7 @@ type BigStruct struct {
i int
j float64
k string
- x [256<<20]byte
+ x [128<<20]byte
l []byte
}