summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug357.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug357.go')
-rw-r--r--test/fixedbugs/bug357.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fixedbugs/bug357.go b/test/fixedbugs/bug357.go
index 2220398d0..448d98263 100644
--- a/test/fixedbugs/bug357.go
+++ b/test/fixedbugs/bug357.go
@@ -15,8 +15,9 @@ func bla1() bool {
func bla5() bool {
_ = 1
- false // ERROR "false not used"
+ false // ERROR "false not used|value computed is not used"
_ = 2
+ return false
}
func main() {