mirror of
https://github.com/golang/go
synced 2024-11-18 01:44:49 -07:00
6f80e5edf4
We can't address more than this on amd64 anyway. Fixes #9862. Change-Id: Ifb1abae558e2e1ee2dc953a76995f3f08c60b1df Reviewed-on: https://go-review.googlesource.com/11715 Reviewed-by: Austin Clements <austin@google.com>
16 lines
266 B
Go
16 lines
266 B
Go
// skip
|
|
|
|
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package main
|
|
|
|
var a [1<<31 - 1024]byte
|
|
|
|
func main() {
|
|
if a[0] != 0 {
|
|
panic("bad array")
|
|
}
|
|
}
|