From: Ian Lance Taylor Date: Wed, 17 May 2017 22:28:14 +0000 (-0700) Subject: test: add missing copyright header to checkbce.go X-Git-Tag: go1.9beta1~234 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f700f89b0be0eda0cda20427fbdae4ff1cb7e6a8;p=gostls13.git test: add missing copyright header to checkbce.go Change-Id: Iafeb8e033c876f482caa17cca414fe13b0fadb12 Reviewed-on: https://go-review.googlesource.com/43613 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Dave Cheney --- 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) {