mirror of
https://github.com/golang/go
synced 2024-10-06 08:00:07 +00:00
[dev.power64] test: "fix" live.go test on power64x
On power64x, this one line in live.go reports that t is live because of missing optimization passes. This isn't what this test is trying to test, so shuffle bad40 so that it still accomplishes the intent of the test without also depending on optimization. LGTM=rsc R=rsc, dave CC=golang-codereviews https://golang.org/cl/167110043
This commit is contained in:
parent
d10a115ef9
commit
a5e1e1599c
|
@ -614,8 +614,8 @@ func newT40() *T40 {
|
|||
|
||||
func bad40() {
|
||||
t := newT40()
|
||||
println()
|
||||
_ = t
|
||||
println()
|
||||
}
|
||||
|
||||
func good40() {
|
||||
|
|
Loading…
Reference in a new issue