3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
12 println("-5>>1 =", -5>>1, "want -3")
16 println("-4>>1 =", -4>>1, "want -2")
20 println("-3>>1 =", -3>>1, "want -2")
24 println("-2>>1 =", -2>>1, "want -1")
28 println("-1>>1 =", -1>>1, "want -1")