mirror of https://github.com/golang/go.git
gc: another width test
R=ken2 CC=golang-dev https://golang.org/cl/4808057
This commit is contained in:
parent
2f8190a8f8
commit
acb02ebc30
|
|
@ -0,0 +1,15 @@
|
|||
// $G $D/$F.go || echo BUG: bug360
|
||||
|
||||
// Copyright 2011 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.
|
||||
|
||||
// issue 1908
|
||||
// unreasonable width used to be internal fatal error
|
||||
|
||||
package test
|
||||
|
||||
func main() {
|
||||
buf := [1<<30]byte{}
|
||||
_ = buf[:]
|
||||
}
|
||||
Loading…
Reference in New Issue