]> Cypherpunks repositories - gostls13.git/commitdiff
test: add missing copyright header to checkbce.go
authorIan Lance Taylor <iant@golang.org>
Wed, 17 May 2017 22:28:14 +0000 (15:28 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 18 May 2017 00:05:25 +0000 (00:05 +0000)
Change-Id: Iafeb8e033c876f482caa17cca414fe13b0fadb12
Reviewed-on: https://go-review.googlesource.com/43613
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
test/checkbce.go

index a4b0fe0d2a486e07d0d53a35aac7e84f7c1001a2..430dcf9cbc285bc259672d1b97754d812fa6b210 100644 (file)
@@ -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) {