1
0
mirror of https://github.com/golang/go synced 2024-11-26 10:58:16 -07:00

test: re-enable open-coded defer test on riscv64

Open-coded defers were fixed and re-enabled on riscv64, however this test was
inadvertantly left disabled.

Updates #36786

Change-Id: I128fc84baa3d51f50d173e19e52051dc4d9a07c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/220920
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Joel Sing 2020-02-26 03:17:01 +11:00
parent 8992f7c459
commit e3b536a054

View File

@ -1,5 +1,4 @@
// errorcheck -0 -l -d=defer // errorcheck -0 -l -d=defer
// +build !riscv64
// Copyright 2019 The Go Authors. All rights reserved. // Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
@ -7,9 +6,6 @@
// check that open-coded defers are used in expected situations // check that open-coded defers are used in expected situations
// TODO(jsing): Re-enable on riscv64 once open-coded defers are turned
// back on - see golang.org/issue/36786
package main package main
import "fmt" import "fmt"