mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
8g: out of register bug fix
Fixes #868. R=ken2 CC=golang-dev https://golang.org/cl/1695049
This commit is contained in:
parent
ed39c764b8
commit
7c9ed7946c
3 changed files with 32 additions and 1 deletions
11
test/fixedbugs/bug287.go
Normal file
11
test/fixedbugs/bug287.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// errchk $G $D/$F.go
|
||||
|
||||
// Copyright 2010 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.
|
||||
|
||||
// Used to die dividing by zero; issue 879.
|
||||
|
||||
package main
|
||||
|
||||
var mult [3][...]byte = [3][5]byte{} // ERROR "\.\.\."
|
||||
Loading…
Add table
Add a link
Reference in a new issue