From cfa52e5e0bfb0aaea7dec2a864b0f562a28d1d15 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 21 Aug 2009 14:14:25 -0700 Subject: [PATCH] unexpected shift conversion behavior R=r DELTA=20 (20 added, 0 deleted, 0 changed) OCL=33646 CL=33667 --- test/bugs/bug193.go | 15 +++++++++++++++ test/golden.out | 5 +++++ 2 files changed, 20 insertions(+) create mode 100644 test/bugs/bug193.go diff --git a/test/bugs/bug193.go b/test/bugs/bug193.go new file mode 100644 index 00000000000..df768b930f7 --- /dev/null +++ b/test/bugs/bug193.go @@ -0,0 +1,15 @@ +// errchk $G $D/$F.go + +// Copyright 2009 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. + +package main + +func main() { + s := uint(10); + ss := 1<