mirror of
https://github.com/golang/go.git
synced 2025-05-14 03:44:40 +00:00
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{}
|
|
}
|