]> Cypherpunks repositories - gostls13.git/commitdiff
test: bump array size in fixedbugs/issue39292.go
authorMatthew Dempsky <mdempsky@google.com>
Sat, 15 Aug 2020 04:30:04 +0000 (21:30 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Sat, 15 Aug 2020 04:45:34 +0000 (04:45 +0000)
The previous array length was large enough to exceed
maxImplicitStackSize on 64-bit architectures, but not on 32-bit
architectures.

Fixes #40808.

Change-Id: I69e9abb447454b2e7875ba503a0cb772e965ae31
Reviewed-on: https://go-review.googlesource.com/c/go/+/248680
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

test/fixedbugs/issue39292.go

index 5d6595c234149f1ae7e7d30d36536ddb4c65ef98..1be88653e917f1440728abe58affc9d3578d00c8 100644 (file)
@@ -6,7 +6,7 @@
 
 package p
 
-type t [10000]*int
+type t [20000]*int
 
 func (t) f() {
 }