From: Russ Cox Date: Thu, 28 Jul 2011 16:32:43 +0000 (-0400) Subject: gc: another width test X-Git-Tag: weekly.2011-07-29~25 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=acb02ebc30bef25318505108d801d073508c0c6e;p=gostls13.git gc: another width test R=ken2 CC=golang-dev https://golang.org/cl/4808057 --- diff --git a/test/fixedbugs/bug361.go b/test/fixedbugs/bug361.go new file mode 100644 index 0000000000..d2a64bcef4 --- /dev/null +++ b/test/fixedbugs/bug361.go @@ -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[:] +}