aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/checkbce.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/checkbce.go b/test/checkbce.go
index a4b0fe0d2a..430dcf9cbc 100644
--- a/test/checkbce.go
+++ b/test/checkbce.go
@@ -1,6 +1,13 @@
// +build amd64
// errorcheck -0 -d=ssa/check_bce/debug=3
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Test that the compiler does bounds check elimination as expected.
+// This avoids accidental regressions.
+
package main
func f0(a []int) {