diff options
Diffstat (limited to 'test/fixedbugs/bug385_64.go')
| -rw-r--r-- | test/fixedbugs/bug385_64.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/fixedbugs/bug385_64.go b/test/fixedbugs/bug385_64.go index 8c7b9d5208..f8ccb42a9b 100644 --- a/test/fixedbugs/bug385_64.go +++ b/test/fixedbugs/bug385_64.go @@ -8,11 +8,17 @@ // license that can be found in the LICENSE file. // Issue 2444 +// Issue 4666: issue with arrays of exactly 4GB. package main -func main() { // ERROR "stack frame too large" + +func main() { // ERROR "stack frame too large" var arr [1000200030]int32 arr_bkup := arr _ = arr_bkup } +func F() { // ERROR "stack frame too large" + var arr [1 << 30]int32 + _ = arr[42] +} |
