mirror of
https://github.com/golang/go
synced 2024-11-25 00:47:56 -07:00
8d47b08255
Previously it might happen before calling dowidth and result in a compiler crash. Fixes #8060. LGTM=dvyukov, rsc R=golang-codereviews, dvyukov, gobot, rsc CC=golang-codereviews https://golang.org/cl/110980044
14 lines
230 B
Go
14 lines
230 B
Go
// Copyright 2014 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 b
|
|
|
|
import "a"
|
|
|
|
var X = a.A
|
|
|
|
func b() {
|
|
_ = [3][1]float64{}
|
|
}
|