summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2014-11-03 17:25:36 -0500
committerAustin Clements <austin@google.com>2014-11-03 17:25:36 -0500
commitf90cfa5dbb1fbbc382661aaef561129e65808a56 (patch)
tree30c0cf17e33e9c96eb90d57c0a09782513cb9a8e
parent58d84f73cef84679acbe0f0a26d1407dddb8b8a5 (diff)
downloadgo-f90cfa5dbb1fbbc382661aaef561129e65808a56.tar.gz
[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://codereview.appspot.com/167110043
-rw-r--r--test/live.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/live.go b/test/live.go
index f15bb74ba..f69d0a4c1 100644
--- a/test/live.go
+++ b/test/live.go
@@ -614,8 +614,8 @@ func newT40() *T40 {
func bad40() {
t := newT40()
- println()
_ = t
+ println()
}
func good40() {