mirror of
https://github.com/golang/go
synced 2024-11-21 13:34:39 -07:00
gc: another width test
R=ken2 CC=golang-dev https://golang.org/cl/4808057
This commit is contained in:
parent
2f8190a8f8
commit
acb02ebc30
15
test/fixedbugs/bug361.go
Normal file
15
test/fixedbugs/bug361.go
Normal file
@ -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
Block a user