aboutsummaryrefslogtreecommitdiff
path: root/test/opt_branchlikely.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/opt_branchlikely.go')
-rw-r--r--test/opt_branchlikely.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/opt_branchlikely.go b/test/opt_branchlikely.go
index 5781253e3e..84de32179f 100644
--- a/test/opt_branchlikely.go
+++ b/test/opt_branchlikely.go
@@ -1,5 +1,6 @@
// +build amd64
-// errorcheck -0 -d=ssa/likelyadjust/debug=1
+// errorcheck -0 -d=ssa/likelyadjust/debug=1,ssa/insert_resched_checks/off
+// rescheduling check insertion is turend off because the inserted conditional branches perturb the errorcheck
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style