1
0
mirror of https://github.com/golang/go synced 2024-11-06 09:26:18 -07:00
go/test/fixedbugs/issue7648.dir/b.go
Shenghou Ma 15bc7ab957 cmd/gc: fix spurious "bad negated constant" for complex constants.
Fixes #7648.

LGTM=r, remyoudompheng
R=golang-codereviews, r, remyoudompheng, jscrockett01
CC=golang-codereviews
https://golang.org/cl/80560045
2014-04-01 02:55:38 -04:00

12 lines
210 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"
func f() {
println(a.A)
}